1
0
forked from extern/alertik
alertik/alertik.h
2024-08-06 22:57:23 -03:00

17 lines
387 B
C

/*
* Alertik: a tiny 'syslog' server & notification tool for Mikrotik routers.
* This is free and unencumbered software released into the public domain.
*/
#ifndef ALERTIK_H
#define ALERTIK_H
#include <time.h>
#define MIN(a,b) (((a)<(b))?(a):(b))
extern char *get_formatted_time(time_t time, char *time_str);
extern void log_msg(const char *fmt, ...);
#endif /* ALERTIK_H */