#include <sys/time.h>#include <stdio.h>#include <string.h>#include <stdlib.h>#include <unistd.h>#include <time.h>#include <signal.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <glib.h>#include <errno.h>#include <appHeartbeatMonitor.h>Defines | |
| #define | REGISTRATION_MAX_INTERVAL 100 |
| #define | REGISTRATION_MIN_INTERVAL 50 |
Functions | |
| void | signal_shutdown (int a_arg) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | hbfd |
| GMainLoop * | mainloop |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
Causes the program to exit from the main loop. |
|
|
The heartbeat fifo descriptor. This particular example doesn't actually use this, but uses the library provided callbacks instead. |
|
|
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002