#include <cstdlib>
#include <csignal>
Go to the source code of this file.
Functions | |
| bool | initialize () |
| Performs initialization work for the master and slave Fountain node daemons. | |
| void | version (char **argv) |
| Displays the Fountain version. | |
| void | usage (char **argv, bool amMasterNode) |
| Describes the various arguments accepted by the master and slave Fountain node daemons. | |
| void | interruptHandler (int signalNumber) |
| Called when we catch a signal. | |
| bool | parseArgs (int argc, char **argv, bool amMasterNode) |
| General argument parsing for both the master and slave Fountain node daemons. | |
| int | Daemonize () |
| Function to turn this process into a daemon. | |
|
|
Function to turn this process into a daemon.
|
|
|
Performs initialization work for the master and slave Fountain node daemons. This function does two important things, registering for signal events and initializing the Bamboo library.
|
|
|
Called when we catch a signal. If the signal is SIGINT or SIGTERM we'll set the global done variable to true
|
|
||||||||||||||||
|
General argument parsing for both the master and slave Fountain node daemons.
|
|
||||||||||||
|
Describes the various arguments accepted by the master and slave Fountain node daemons.
|
|
|
Displays the Fountain version.
|
1.4.6