yumapro
24.10-3
YumaPro SDK
|
NETCONF Server Access Control handler for external data model. More...
#include <xmlstring.h>
#include "obj.h"
#include "op.h"
#include "status.h"
#include "val.h"
#include "xml_msg.h"
Go to the source code of this file.
Typedefs | |
typedef boolean(* | agt_acm_extern_rpc_fn_t) (xml_msg_hdr_t *msg, const xmlChar *user, const obj_template_t *rpcobj) |
Check if the specified user is allowed to invoke an RPC. More... | |
typedef boolean(* | agt_acm_extern_notif_fn_t) (const xmlChar *user, const obj_template_t *notifobj) |
Check if the specified user is allowed to receive a notification event. More... | |
typedef boolean(* | agt_acm_extern_write_fn_t) (xml_msg_hdr_t *msg, const xmlChar *user, const val_value_t *newval, const val_value_t *curval, op_editop_t editop) |
Check if the specified user is allowed to access a value node. More... | |
typedef boolean(* | agt_acm_extern_read_fn_t) (xml_msg_hdr_t *msg, const xmlChar *user, const val_value_t *val) |
Check if the specified user is allowed to read a value node. More... | |
Functions | |
status_t | agt_acm_extern_init2 (void) |
Phase 2 : Initialize the external data model configuration data structures. More... | |
void | agt_acm_extern_init0 (void) |
Init 0 Pre-init 1 phase. More... | |
status_t | agt_acm_extern_init1 (void) |
Phase 1: Load the external data module. More... | |
void | agt_acm_extern_cleanup (void) |
Cleanup the external access control module. More... | |
status_t | agt_acm_extern_init_msg_cache (ses_cb_t *scb, xml_msg_hdr_t *msg) |
Malloc and initialize an agt_acm_cache_t struct and attach it to the incoming message. More... | |
void | agt_acm_extern_register_callbacks (agt_acm_extern_rpc_fn_t rpcfn, agt_acm_extern_notif_fn_t notfn, agt_acm_extern_write_fn_t writefn, agt_acm_extern_read_fn_t readfn) |
Register the external callbacks for ACM implementation. More... | |
boolean | agt_acm_extern_rpc_allowed (xml_msg_hdr_t *msg, const xmlChar *user, const obj_template_t *rpcobj) |
Check if the specified user is allowed to invoke an RPC. More... | |
boolean | agt_acm_extern_notif_allowed (const xmlChar *user, const obj_template_t *notifobj) |
Check if the specified user is allowed to receive a notification event. More... | |
boolean | agt_acm_extern_val_write_allowed (xml_msg_hdr_t *msg, const xmlChar *user, const val_value_t *newval, const val_value_t *curval, op_editop_t editop) |
Check if the specified user is allowed to access a value node. More... | |
boolean | agt_acm_extern_val_read_allowed (xml_msg_hdr_t *msg, const xmlChar *user, const val_value_t *val) |
Check if the specified user is allowed to read a value node. More... | |
NETCONF Server Access Control handler for external data model.