12#ifndef _H_agt_hook_util
13#define _H_agt_hook_util
101typedef enum agt_hook_fmt_t_ {
141extern const xmlChar *
161extern const xmlChar *
188 const xmlChar *defpath);
202 const xmlChar *defpath);
214 const xmlChar *defpath);
283 const xmlChar *defpath);
298 const xmlChar *defpath,
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.
Definition: agt_hook_util.c:396
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.
Definition: agt_hook_util.c:689
boolean agt_hook_type_valid(agt_hook_type_t type)
Verify that the hook TYPE is valid.
Definition: agt_hook_util.c:155
boolean agt_hooks_callback_set(obj_template_t *obj)
Check if an any Hook callback is registered for this object for SIL-SA usage.
Definition: agt_hook_util.c:499
const xmlChar * agt_hook_get_format_name(agt_hook_fmt_t format)
Get the keyword for the specified agt_hook_fmt_t enumeration.
Definition: agt_hook_util.c:280
agt_hook_fmt_t
different hook formats dictates specific hook functionality
Definition: agt_hook_util.h:101
boolean agt_hook_fmt_valid(agt_hook_fmt_t format)
Verify that the hook format is valid.
Definition: agt_hook_util.c:191
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.
Definition: agt_hook_util.c:336
agt_hook_type_t agt_hook_get_type_enum(const xmlChar *type)
Get agt_hook_fmt_t enumeration structure from specified string.
Definition: agt_hook_util.c:251
boolean agt_hook_subtree_format(obj_template_t *obj)
Check if an Transaction Hook callback is registered for this object for SIL-SA usage.
Definition: agt_hook_util.c:645
agt_hook_fmt_t agt_hook_get_format_enum(const xmlChar *format)
Get agt_hook_fmt_t enumeration structure from specified string.
Definition: agt_hook_util.c:307
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.
Definition: agt_hook_util.c:786
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.
Definition: agt_hook_util.c:445
const xmlChar * agt_hook_get_type_name(agt_hook_type_t type)
Get the keyword for the specified agt_hook_type_t enumeration.
Definition: agt_hook_util.c:222
boolean agt_txhook_callback_set(obj_template_t *obj)
Check if an Transaction Hook callback is registered for this object for SIL-SA usage.
Definition: agt_hook_util.c:609
boolean agt_sethook_callback_set(obj_template_t *obj)
Check if an Set Hook callback is registered for this object for SIL-SA usage.
Definition: agt_hook_util.c:573
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.
Definition: agt_hook_util.c:537
@ AGT_HOOKFMT_NODE
node mode
Definition: agt_hook_util.h:104
@ AGT_HOOKFMT_SUBTREE
subtree mode
Definition: agt_hook_util.h:103
@ AGT_HOOKFMT_NONE
not set
Definition: agt_hook_util.h:102
agt_hook_type_t
Hook types enumeration to specify Hook type.
Definition: agt.h:817
status_t
global error return code
Definition: status_enum.h:210
Global error messages for status code enumerations.
One YANG data-def-stmt.
Definition: obj.h:1229