wmclockmon: remove unused code
[dockapps.git] / wmclockmon / wmclockmon-config / tools.h
blob172518852a6588b8407921e7139d97d8edfddecc
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(char *value);
18 void load_cfgfile();
19 char *robust_home();
20 void save_cfgfile();
22 #endif