pfd_conn.h File Reference

Relating to managing the connections. More...

#include <isc/eventlib.h>
#include <jnx/aux_types.h>

Go to the source code of this file.

Functions

status_t init_connections (evContext ctx)
void close_connections (void)

Variables

boolean cpd_ready
 cnx to CPD is established


Detailed Description

Relating to managing the connections.

These functions and types will manage the connections.

Definition in file pfd_conn.h.


Function Documentation

void close_connections ( void   ) 

Terminate all the connections

Definition at line 603 of file pfd_conn.c.

References cpd_client, and ped_client.

Referenced by pfd_quit(), and pfd_shutdown().

status_t init_connections ( evContext  ctx  ) 

Initialize the connections

Parameters:
[in] ctx event context
Returns:
SUCCESS if successful; otherwise EFAIL with an error message.

Definition at line 576 of file pfd_conn.c.

References connect_ped(), cpd_client, cpd_ready, evInitID, LOG, main_ctx, ped_client, ped_timer_id, and RETRY_CONNECT.

Referenced by pfd_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:27:07 2010 for SDK Your Net Corporation Policy Manager Example: Packet Filtering Daemon (pfd) 1.0 by Doxygen 1.5.1