![]() |
yumapro
24.10-11
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 | |
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.