Functions | |
static int | _write_pidfile (pid_t pid) |
Write the entranced pid to the defined pidfile. | |
static void | _fork_and_exit (void) |
Make entranced a daemon by fork-and-exit. | |
static int | _timer_cb_respawn_reset (void *) |
static void * | _filter_cb_start (void *) |
static int | _filter_cb_loop (void *, void *, int, void *) |
static void | _filter_cb_end (void *, void *) |
static void | _sigaction_cb_sigusr (int) |
static int | _event_cb_exited (void *, int, void *) |
static int | _event_cb_signal_exit (void *, int, void *) |
static void | _cb_atexit (void) |
void | usage (char *name) |
int | main (int argc, char **argv) |
Variables | |
static Ecore_Event_Handler * | _e_handler = NULL |
static Ecore_Event_Handler * | _d_handler = NULL |
static Ecore_Event_Filter * | _e_filter = NULL |
static struct sigaction | _entrance_d_sa |
static unsigned char | is_respawning = 0 |
static unsigned char | exev = 0 |
static Ecore_Timer * | respawn_timer = NULL |
static void _cb_atexit | ( | void | ) | [static] |
static int _event_cb_exited | ( | void * | data, | |
int | type, | |||
void * | event | |||
) | [static] |
static int _event_cb_signal_exit | ( | void * | data, | |
int | type, | |||
void * | event | |||
) | [static] |
static void _filter_cb_end | ( | void * | data, | |
void * | loop_data | |||
) | [static] |
static int _filter_cb_loop | ( | void * | data, | |
void * | loop_data, | |||
int | type, | |||
void * | event | |||
) | [static] |
static void * _filter_cb_start | ( | void * | data | ) | [static] |
static void _fork_and_exit | ( | void | ) | [static] |
Make entranced a daemon by fork-and-exit.
This is the default behavior.
static void _sigaction_cb_sigusr | ( | int | sig | ) | [static] |
static int _timer_cb_respawn_reset | ( | void * | data | ) | [static] |
static int _write_pidfile | ( | pid_t | pid | ) | [static] |
Write the entranced pid to the defined pidfile.
pid | The spawner's process ID, which is the pid after the fork if there was one |
int main | ( | int | argc, | |
char ** | argv | |||
) |
void usage | ( | char * | name | ) |
Ecore_Event_Handler* _d_handler = NULL [static] |
Ecore_Event_Filter* _e_filter = NULL [static] |
Ecore_Event_Handler* _e_handler = NULL [static] |
struct sigaction _entrance_d_sa [static] |
unsigned char exev = 0 [static] |
unsigned char is_respawning = 0 [static] |
Ecore_Timer* respawn_timer = NULL [static] |