1
0
forked from extern/alertik
alertik/syslog.h

20 lines
480 B
C
Raw Normal View History

2024-07-17 03:34:38 +02:00
/*
* Alertik: a tiny 'syslog' server & notification tool for Mikrotik routers.
* This is free and unencumbered software released into the public domain.
*/
#ifndef SYSLOG_H
#define SYSLOG_H
2024-07-17 03:53:12 +02:00
struct log_event;
2024-07-17 03:34:38 +02:00
#define FIFO_MAX 64
#define SYSLOG_PORT 5140
2024-08-03 22:14:55 +02:00
extern int syslog_init_forward(void);
2024-07-17 03:34:38 +02:00
extern int syslog_create_udp_socket(void);
extern int syslog_enqueue_new_upd_msg(int fd);
extern int syslog_pop_msg_from_fifo(struct log_event *ev);
#endif /* SYSLOG_H */