mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-11-12 00:06:26 +00:00
33 lines
550 B
C
33 lines
550 B
C
/*
|
|
| 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
|
|
|
|
|
|
// initializes signal handling.
|
|
extern void signal_init( );
|
|
|
|
|
|
// registers a signal handler
|
|
int l_onsignal( lua_State *L );
|
|
|
|
|
|
// sends a signal
|
|
int l_kill( lua_State *L );
|
|
|
|
|
|
// notifies the mantle about signals
|
|
extern void signal_notify( lua_State *L );
|
|
|
|
|
|
// tidies up signal handling
|
|
extern void signal_tidy( );
|
|
|
|
#endif
|