recorder/misc.h
2015-09-09 21:21:38 +02:00

22 lines
400 B
C

#ifndef MISC_H_INCLUDED
# define MISC_H_INCLUDED
#include <time.h>
#include "udata.h"
extern char STORAGEDIR[];
#ifndef TRUE
# define TRUE (1)
# define FALSE (0)
#endif
int mkpath(char *path);
char *bindump(char *buf, long buflen);
// void monitor_update(struct udata *ud, time_t now, char *topic);
void monitorhook(struct udata *userdata, time_t now, char *topic);
char *monitor_get();
#endif