torrent-stats/signals.h

13 lines
246 B
C
Raw Permalink Normal View History

2009-05-03 14:20:03 +02:00
#ifndef _SIGNALS_H
#define _SIGNALS_H
#define SIG_DEFAULT 0x00
#define SIG_IGNORE 0x01
int signal_remove_callback(int signum, int type);
int signal_set_callback(int signum, void (*callback)(void));
int signal_init(void);
#endif // _SIGNALS_H