Include dependency graph for fake.cc:
Go to the source code of this file.
Functions | |
static void | usage (void) |
static void | process_options (int argc, char *argv[]) |
int | main (int argc, char *argv[]) |
Variables | |
std::string | program_name |
Function Documentation
◆ main()
Definition at line 91 of file fake.cc.
References process_options(), program_name, SEND_OK, and VERSION.
◆ process_options()
|
static |
Definition at line 68 of file fake.cc.
References debug_enabled, getopt(), opterr, optopt, program_name, and usage().
Referenced by main().
◆ usage()
|
static |
Variable Documentation
◆ program_name
std::string program_name |
options: -d enable debugging. -h interface help.
Definition at line 56 of file fake.cc.
Referenced by main(), process_options(), and usage().