#define CONF_STR 1
#define CONF_CBK 2
#define CONF_MSTR 3

void getgenericconfig(FILE *f, char *block, ...);