create database.h, all in defs.h is messy
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#ifndef _DATABASE_H_
|
||||
#define _DATABASE_H_
|
||||
|
||||
/* returns an opaque pointer - truly a 'database *', see database.c */
|
||||
void *parse_database(char *filename);
|
||||
void dump_database(void *database);
|
||||
void list_ids(void *database);
|
||||
void list_groups(void *database);
|
||||
void on_off(void *d, char *item, int *a, int onoff);
|
||||
|
||||
#endif /* _DATABASE_H_ */
|
||||
Reference in New Issue
Block a user