hellopics-mgmt_config.h File Reference

Relating to loading the configuration data. More...

Go to the source code of this file.


#define HELLOPICS_HA_MASTER_ADDR   0x80000004


int hellopics_config_read (int check)
void init_config (void)

Detailed Description

Relating to loading the configuration data.

These functions will parse and load the configuration data.

Definition in file hellopics-mgmt_config.h.

Function Documentation

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
SUCCESS (0) successfully loaded, -1 in case of error
Do not use ERRMSG during config 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().

2007-2009 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Generated on Sun May 30 20:26:58 2010 for SDK Your Net Corporation Hellopics Example: hellopics-mgmt 1.0 by Doxygen 1.5.1