mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-15 09:58:40 -07:00
b050057200
closes #4
19 lines
343 B
C
19 lines
343 B
C
#ifndef MISC_H_INCLUDED
|
|
# define MISC_H_INCLUDED
|
|
|
|
#include <time.h>
|
|
#include "udata.h"
|
|
|
|
#ifndef TRUE
|
|
# define TRUE (1)
|
|
# define FALSE (0)
|
|
#endif
|
|
|
|
int mkpath(char *path);
|
|
char *bindump(char *buf, long buflen);
|
|
void monitorhook(struct udata *ud, time_t now, char *topic);
|
|
|
|
void monitor_update(struct udata *ud, time_t now, char *topic);
|
|
|
|
#endif
|