add get_format to database
This commit is contained in:
@@ -8,4 +8,16 @@ void list_ids(void *database);
|
||||
void list_groups(void *database);
|
||||
void on_off(void *d, char *item, int *a, int onoff);
|
||||
|
||||
/****************************************************************************/
|
||||
/* get format of an event */
|
||||
/****************************************************************************/
|
||||
|
||||
typedef struct {
|
||||
char **type;
|
||||
char **name;
|
||||
int count;
|
||||
} database_event_format;
|
||||
|
||||
database_event_format get_format(void *database, int event_id);
|
||||
|
||||
#endif /* _DATABASE_H_ */
|
||||
|
||||
Reference in New Issue
Block a user