bmsd/rdconfig.h

Sat, 15 Dec 2018 21:27:01 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 15 Dec 2018 21:27:01 +0100
changeset 142
793af7691a5e
parent 0
033898178630
permissions
-rw-r--r--

During hops load an extra weight in grams field is generated for the grid. Edit the amount is done on the weight field and the amount field is updated too. During save to the database the extra field is removed.

#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