hellopics-mgmt_ha.h

Go to the documentation of this file.
00001 /*
00002  *
00003  * This code is provided as is by Juniper Networks SDK Developer Support.
00004  * It is provided with no warranties or guarantees, and Juniper Networks
00005  * will not provide support or maintenance of this code in any fashion.
00006  * The code is provided only to help a developer better understand how
00007  * the SDK can be used.
00008  * 
00009  * Copyright (c) 2008, Juniper Networks, Inc.
00010  * All rights reserved.
00011  */
00012 
00022 #ifndef __HELLOPICS_MGMT_HA_H__
00023 #define __HELLOPICS_MGMT_HA_H__
00024 
00025 
00026 /*** Constants ***/
00027 #define HELLOPICS_MASTER_ADDR 0x80000004
00028 
00029 
00030 /*** GLOBAL/EXTERNAL Functions ***/
00031 
00032 
00042 status_t
00043 init_replication(in_addr_t master_address);
00044 
00045 
00052 void
00053 update_replication_entry(hellopics_stats_t * data);
00054 
00055 
00059 void
00060 stop_replication(void);
00061 void
00062 set_mastership(boolean state, in_addr_t master_addr);
00063 
00064 #endif

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