lsyncd/core/signal.h
2018-06-06 09:24:13 +02:00

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