kcom_gencfg_pub.c File Reference

KCOM GENCFG public blob-related functions. More...


Defines

#define KCOM_PUBLIC_BLOB_KEY_SIZE   16

Functions

int junos_kcom_pub_blob_req (junos_kcom_pub_blob_req_t *req)
 API to request all possible operations for the public blobs.
int junos_kcom_pub_blob_get_all (junos_kcom_pub_blob_handler_ptr func, void *user_info, u_int16_t blob_id)
void kcom_gencfg_pub_handler (junos_kcom_gencfg_t *msg)
void junos_kcom_free_pub_msg (junos_kcom_pub_blob_msg_t *msg)
 API to free the public blob messge strucuture passed to the applications during async notifications.
void junos_kcom_free_pub_blob (junos_kcom_pub_blob_t *pub_blob)
 API to free the public blob structure passed to the applications in GET-ALL operations.


Detailed Description

KCOM GENCFG public blob-related functions.

This file contains code related to KCOM GENCFG SSRB.


Function Documentation

void junos_kcom_free_pub_blob junos_kcom_pub_blob_t pub_blob  ) 
 

API to free the public blob structure passed to the applications in GET-ALL operations.

Parameters:
[in] pub_blob Pointer to junos_kcom_pub_blob_t structure.
Returns:
Doesn't return any value

void junos_kcom_free_pub_msg junos_kcom_pub_blob_msg_t msg  ) 
 

API to free the public blob messge strucuture passed to the applications during async notifications.

Parameters:
[in] msg Pointer to junos_kcom_pub_blob_msg_t structure.
Returns:
Doesn't return any value

int junos_kcom_pub_blob_req junos_kcom_pub_blob_req_t req  ) 
 

API to request all possible operations for the public blobs.

The application can register, degregister or retrieve the public blobs of a particular type through this function.

Parameters:
[in] req Pointer to junos_kcom_pub_blob_req_t structure.
[out] svc_set_info Structure which defines the service set related info.
Returns:
The possible return values are:
  • KCOM_OK The operation completed without any errors.
  • KCOM_LIB_ERR There was an error.
  • KCOM_ITER_END The user handler aborted the get all operation.


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:49 2010 for libjunos-sdk by Doxygen 1.4.5