mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-16 02:18:27 -07:00
21 lines
370 B
C
21 lines
370 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 monitorhook(struct udata *ud, time_t now, char *topic);
|
|
|
|
void monitor_update(struct udata *ud, time_t now, char *topic);
|
|
|
|
#endif
|