bmsd/rdconfig.h

Wed, 27 Mar 2019 12:50:57 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 27 Mar 2019 12:50:57 +0100
changeset 334
26c6f8e5d58e
parent 0
033898178630
permissions
-rw-r--r--

Added webcam_url and webcam_light fields to the mon_fermenters database table. Currently these fields need to be set using phpMyAdmin or another tool. If the webcam_url field is set, then on the mon_fermenter webpage a button is added to show a webcam page.

#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