1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
/*
* Copyright (c) 2005-2010 Thierry FOURNIER
* $Id: alerte.h 690 2008-03-31 18:36:43Z $
*
*/
#ifndef __ALERTE_H__
#define __ALERTE_H__
// send new alert
void alerte_script(char *mac, char *ip, int no, char *ref,
char *interface, char *vendor);
// init memory structurs
void alerte_init(void);
// return the next timeout and the functionn to call
void *alerte_next(struct timeval *tv);
// check validity of all current alert scripts
void alerte_check(void);
void alerte_kill_pid(void);
#endif
|