junos_sync_state_s Struct Reference

This data structure encapsulates all data provided to the JUNOS sync system during initialization. More...


Data Fields

bool is_master
 Flag to indicate if it is a master (true) or slave (false).
bool no_resync
 Set to true if application does not want automatic resync.
in_addr_t server_addr
 IPv4 server address in host byte order.
in_port_t server_port
 Server port to use.
time_t keepalive_time
 Keepalive time interval, in seconds.


Detailed Description

This data structure encapsulates all data provided to the JUNOS sync system during initialization.


Field Documentation

time_t junos_sync_state_s::keepalive_time
 

Keepalive time interval, in seconds.

If there is no data or keepalive message received during this period of time, the library declares the TCP connection as broken.

in_addr_t junos_sync_state_s::server_addr
 

IPv4 server address in host byte order.

The caller needs to fill this in only when is_master is set to false.

in_port_t junos_sync_state_s::server_port
 

Server port to use.

The caller needs to fill this in only when is_master is set to false.


The documentation for this struct was generated from the following file:
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:23:55 2010 for libjunos-sync by Doxygen 1.4.5