dpm-ctrl_conn.h File Reference

Relating to managing the connections. More...

#include <sync/dpm_ipc.h>

Go to the source code of this file.

Functions

status_t init_connections (evContext ctx)
void close_connections (void)
void notify_status_update (status_msg_type_e action, char *subscriber_name, char *class_name)


Detailed Description

Relating to managing the connections.

These functions and types will manage the connections.

Definition in file dpm-ctrl_conn.h.


Function Documentation

void close_connections ( void   ) 

Terminate connection to the mgmt component

Definition at line 436 of file dpm-ctrl_conn.c.

References INSIST_ERR.

Referenced by dpm_quit().

status_t init_connections ( evContext  ctx  ) 

Initialize the connection to the mgmt component

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

Definition at line 412 of file dpm-ctrl_conn.c.

References connect_mgmt(), LOG, and RETRY_CONNECT.

Referenced by dpm_init(), and wait_for_dfw().

void notify_status_update ( status_msg_type_e  action,
char *  subscriber_name,
char *  class_name 
)

Notify the mgmt component about a subscriber status update

Parameters:
[in] action login/logout action
[in] mdi_mlr the subscriber name
[in] class_name the subscriber class name

Definition at line 471 of file dpm-ctrl_conn.c.

References notification_msg_s::action, subscriber_status_s::class, INSIST_ERR, notification_msg_s::message, subscriber_status_s::name, and process_notifications().


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:54 2010 for SDK Your Net Corporation Dynamic Policy Manager Example: dpm-ctrl 1.0 by Doxygen 1.5.1