bmsd/rdconfig.h

Tue, 14 Feb 2023 11:29:01 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 14 Feb 2023 11:29:01 +0100
changeset 844
a6ee7b5b036b
parent 0
033898178630
permissions
-rw-r--r--

Version 0.3.43 bmsd if there is no ssid received from a node message then send '' to the mon_nodes table in the database instead of (null).

#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