mirror of
https://github.com/Theldus/alertik.git
synced 2024-11-25 01:14:10 +01:00
Remove alertik.h header
This commit is contained in:
parent
b9d2587f20
commit
042aa4e701
@ -7,7 +7,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
#include "alertik.h"
|
|
||||||
#include "events.h"
|
#include "events.h"
|
||||||
#include "env_events.h"
|
#include "env_events.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
16
alertik.h
16
alertik.h
@ -1,16 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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 */
|
|
@ -13,7 +13,6 @@
|
|||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "events.h"
|
#include "events.h"
|
||||||
#include "env_events.h"
|
#include "env_events.h"
|
||||||
#include "alertik.h"
|
|
||||||
#include "notifiers.h"
|
#include "notifiers.h"
|
||||||
#include "str.h"
|
#include "str.h"
|
||||||
|
|
||||||
|
4
events.c
4
events.c
@ -8,8 +8,8 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
#include "events.h"
|
#include "events.h"
|
||||||
#include "alertik.h"
|
|
||||||
#include "notifiers.h"
|
#include "notifiers.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "str.h"
|
#include "str.h"
|
||||||
@ -18,6 +18,8 @@
|
|||||||
* Static events
|
* Static events
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define MIN(a,b) (((a)<(b))?(a):(b))
|
||||||
|
|
||||||
/* Misc. */
|
/* Misc. */
|
||||||
#define MAX_MATCHES 32
|
#define MAX_MATCHES 32
|
||||||
static regmatch_t pmatch[MAX_MATCHES];
|
static regmatch_t pmatch[MAX_MATCHES];
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "notifiers.h"
|
#include "notifiers.h"
|
||||||
#include "alertik.h"
|
|
||||||
#include "str.h"
|
#include "str.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
1
str.c
1
str.c
@ -36,7 +36,6 @@
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
/* ========================================================================= */
|
/* ========================================================================= */
|
||||||
/* BUFFER ROUTINES */
|
/* BUFFER ROUTINES */
|
||||||
|
Loading…
Reference in New Issue
Block a user