bmsd/rdconfig.h

Fri, 29 May 2020 09:17:52 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 29 May 2020 09:17:52 +0200
changeset 696
f4de55f587c1
parent 0
033898178630
permissions
-rw-r--r--

Added websocket_port to the bms.conf file. Log the used port number.

#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