Go to the source code of this file.
Defines | |
#define | HELLOPICS_HA_MASTER_ADDR 0x80000004 |
Functions | |
int | hellopics_config_read (int check) |
void | init_config (void) |
These functions will parse and load the configuration data.
Definition in file hellopics-mgmt_config.h.
int hellopics_config_read | ( | int check | UNUSED | ) |
Read daemon configuration from the database. (nothing to do except traceoptions)
[in] | check | 1 if this function being invoked because of a commit check |
Definition at line 57 of file hellopics-mgmt_config.c.
Referenced by main().
void init_config | ( | void | ) |
Initialize the application as Active or Backup depending on the mastership of RE. Initialize the replication module for synchronization between the Active and Backup.
Definition at line 71 of file hellopics-mgmt_config.c.
References HELLOPICS_MASTER_ADDR, LOG, NAME_LENGTH, and set_mastership().
Referenced by hellopics_init().