bmsd/rdconfig.h

Wed, 18 Oct 2023 13:03:10 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 18 Oct 2023 13:03:10 +0200
changeset 854
548e5e9af0c6
parent 0
033898178630
permissions
-rw-r--r--

Moved init script to /etc/rc.d and must now be installed in /etc/rc.d/rc.local

#ifndef	_RDCONFIG_H
#define	_RDCONFIG_H

#define S(x) (x)?(x):"(null)"

typedef struct _key_list {
   char                *key;
   int                 (*prc)(char **);
   char                **dest;
} key_list;


void killconfig(void);
int  rdconfig(void);
int  wrconfig(void);


#endif

mercurial