mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-11-16 01:47:08 +00:00
25 lines
488 B
C
25 lines
488 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
|
|
|
|
// set to 1 on hup signal or term signal
|
|
extern volatile sig_atomic_t hup;
|
|
extern volatile sig_atomic_t term;
|
|
extern volatile sig_atomic_t sigcode;
|
|
|
|
|
|
// Initializes signal handling.
|
|
extern void signal_init( );
|
|
|
|
// FIXME
|
|
int l_onsignal( lua_State *L );
|
|
|
|
#endif
|