wmclockmon: update change-log
[dockapps.git] / wmclockmon / wmclockmon-config / tools.h
blobf1346a4be3c0d28a03ae449093c4e2033958535f
1 /*
2 * Tools : memory management, file loading and saving
3 */
5 #ifndef TOOLS_H
6 #define TOOLS_H
8 #include "defines.h"
9 #include <stdio.h>
11 #define FREE(data) {if (data) free (data); data = NULL;}
13 void alrm_add(Alarm **list, const char *value);
14 void free_alrm(Alarm **list);
15 void *xmalloc(size_t size);
16 char *xstrdup(const char *string);
17 int getbool(const char *value);
18 void load_cfgfile(void);
19 char *robust_home(void);
20 void save_cfgfile(void);
22 #endif