recorder/misc.h

22 lines
400 B
C
Raw Normal View History

2015-08-15 01:42:55 -07:00
#ifndef MISC_H_INCLUDED
# define MISC_H_INCLUDED
#include <time.h>
2015-08-15 03:41:22 -07:00
#include "udata.h"
extern char STORAGEDIR[];
2015-08-15 03:41:22 -07:00
#ifndef TRUE
# define TRUE (1)
# define FALSE (0)
#endif
int mkpath(char *path);
2015-08-14 23:14:34 -07:00
char *bindump(char *buf, long buflen);
2015-08-15 01:42:55 -07:00
// void monitor_update(struct udata *ud, time_t now, char *topic);
void monitorhook(struct udata *userdata, time_t now, char *topic);
char *monitor_get();
2015-08-15 01:42:55 -07:00
#endif