lsyncd/core/signal.h

33 lines
550 B
C
Raw Normal View History

2018-04-01 17:35:35 +00:00
/*
| signal.h from Lsyncd -- the Live (Mirror) Syncing Demon
|
| Logging.
|
| License: GPLv2 (see COPYING) or any later version
| Authors: Axel Kittenberger <axkibe@gmail.com>
*/
#ifndef LSYNCD_SIGNAL_H
#define LSYNCD_SIGNAL_H
2018-05-11 07:07:03 +00:00
// initializes signal handling.
2018-04-01 17:35:35 +00:00
extern void signal_init( );
2018-06-06 07:24:13 +00:00
2018-05-27 08:17:47 +00:00
// registers a signal handler
2018-05-06 20:46:00 +00:00
int l_onsignal( lua_State *L );
2018-06-06 07:24:13 +00:00
2018-05-27 08:17:47 +00:00
// sends a signal
int l_kill( lua_State *L );
2018-06-06 07:24:13 +00:00
2018-05-11 07:07:03 +00:00
// notifies the mantle about signals
extern void signal_notify( lua_State *L );
2018-06-06 07:24:13 +00:00
// tidies up signal handling
extern void signal_tidy( );
2018-04-01 17:35:35 +00:00
#endif