wmclockmon: rename `DFLAGS` `debug_CFLAGS`
[dockapps.git] / wmclockmon / wmclockmon-cal / tools.h
blob23aa306968453c2a00bf4762bc68e6de3af3d8ca
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 int fexist(const char *filename);
14 void *xmalloc(size_t size);
15 char *xstrdup(const char *string);
16 int getbool(char *value);
17 char *robust_home();
18 char *get_file(const char *datestr);
20 #endif