yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
agt_hook_util.h File Reference

NETCONF Server Set/Transaction Hook utility functions. More...

#include "status.h"
Include dependency graph for agt_hook_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  agt_hook_fmt_t {
  AGT_HOOKFMT_NONE ,
  AGT_HOOKFMT_SUBTREE ,
  AGT_HOOKFMT_NODE
}
 different hook formats dictates specific hook functionality More...
 

Functions

boolean agt_hook_type_valid (agt_hook_type_t type)
 Verify that the hook TYPE is valid. More...
 
boolean agt_hook_fmt_valid (agt_hook_fmt_t format)
 Verify that the hook format is valid. More...
 
const xmlChar * agt_hook_get_type_name (agt_hook_type_t type)
 Get the keyword for the specified agt_hook_type_t enumeration. More...
 
agt_hook_type_t agt_hook_get_type_enum (const xmlChar *type)
 Get agt_hook_fmt_t enumeration structure from specified string. More...
 
const xmlChar * agt_hook_get_format_name (agt_hook_fmt_t format)
 Get the keyword for the specified agt_hook_fmt_t enumeration. More...
 
agt_hook_fmt_t agt_hook_get_format_enum (const xmlChar *format)
 Get agt_hook_fmt_t enumeration structure from specified string. More...
 
status_t agt_hook_obj_ok (obj_template_t *obj, agt_hook_fmt_t format, agt_hook_type_t type, const xmlChar *defpath)
 Check if format of the callback is acceptable for the object. More...
 
status_t agt_hook_order_obj_ok (obj_template_t *obj, const xmlChar *defpath)
 Check if format of the callback is acceptable for the object. More...
 
status_t agt_hook_post_sethook_obj_ok (obj_template_t *obj, const xmlChar *defpath)
 Check if format of the callback is acceptable for the object. More...
 
boolean agt_hooks_callback_set (obj_template_t *obj)
 Check if an any Hook callback is registered for this object for SIL-SA usage. More...
 
boolean agt_post_sethook_callback_set (obj_template_t *obj)
 Check if an Post Set Hook callback is registered for this object for SIL-SA usage. More...
 
boolean agt_sethook_callback_set (obj_template_t *obj)
 Check if an Set Hook callback is registered for this object for SIL-SA usage. More...
 
boolean agt_txhook_callback_set (obj_template_t *obj)
 Check if an Transaction Hook callback is registered for this object for SIL-SA usage. More...
 
boolean agt_hook_subtree_format (obj_template_t *obj)
 Check if an Transaction Hook callback is registered for this object for SIL-SA usage. More...
 
status_t agt_hook_post_sethook_subsys_register (const xmlChar *subsys_id, const xmlChar *defpath)
 Register an object specific SIL-SA Post Set Hook callback function. More...
 
status_t agt_hook_hooks_subsys_register (const xmlChar *subsys_id, const xmlChar *defpath, agt_hook_fmt_t format, agt_hook_type_t type)
 Register an object specific SIL-SA Post Set Hook callback function. More...
 

Detailed Description

NETCONF Server Set/Transaction Hook utility functions.