diff options
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h new file mode 100644 index 0000000..dbdb165 --- /dev/null +++ b/src/util.h @@ -0,0 +1,16 @@ +#ifndef fooutilhfoo +#define fooutilhfoo + +#include <db.h> + +void statistics(DB *db); +char* normalize_path(char *s); +void rotdash(void); +const char* get_attached_filename(const char *path, const char *fn); +int isdirectory(const char *path); + +#ifndef MIN +#define MIN(a,b) ((a)<(b)?(a):(b)) +#endif + +#endif |