yumapro
24.10-1
YumaPro SDK
|
YumaPro module tags implementation, if –with-modtags is true. More...
Functions | |
status_t | agt_modtags_init (void) |
Initialize YumaPro module tags feature. More... | |
status_t | agt_modtags_init2 (void) |
Initialize YumaPro module tags feature (phase 2) More... | |
void | agt_modtags_cleanup (void) |
Cleanup the module static data. More... | |
status_t | agt_modtags_setup_filter (xml_msg_hdr_t *msg, val_value_t *inputval, val_value_t **errval) |
Setup a modtag filter in the specified msg. More... | |
boolean | agt_modtags_check_filter (xml_msg_hdr_t *msg, val_value_t *val) |
Check a modtag filter in the specified msg applies to the value. More... | |
void * | agt_modtags_find_modtag (const xmlChar *tagstr) |
Find a modtag; return opaque pointer. More... | |
boolean | agt_modtags_check_modtag (void *v_modtag, xmlns_id_t nsid) |
Check a modtag filter for NACM. More... | |
YumaPro module tags implementation, if –with-modtags is true.
The –with-yumaworks-system=true parameter is needed to use the <get-module-tags> operation.
boolean agt_modtags_check_filter | ( | xml_msg_hdr_t * | msg, |
val_value_t * | val | ||
) |
Check a modtag filter in the specified msg applies to the value.
Check the namespace ID match
msg | request message in progress to check |
val | value node to check; only the namespace ID is used |
boolean agt_modtags_check_modtag | ( | void * | v_modtag, |
xmlns_id_t | nsid | ||
) |
Check a modtag filter for NACM.
v_modtag | modtag cast as void * |
nsid | namespace ID to check |
void agt_modtags_cleanup | ( | void | ) |
Cleanup the module static data.
Called by the server during shutdown
void * agt_modtags_find_modtag | ( | const xmlChar * | tagstr | ) |
Find a modtag; return opaque pointer.
tagstr | module-tag value to find |
status_t agt_modtags_init | ( | void | ) |
Initialize YumaPro module tags feature.
status_t agt_modtags_init2 | ( | void | ) |
Initialize YumaPro module tags feature (phase 2)
status_t agt_modtags_setup_filter | ( | xml_msg_hdr_t * | msg, |
val_value_t * | inputval, | ||
val_value_t ** | errval | ||
) |
Setup a modtag filter in the specified msg.
msg | retrieval request message in progress | |
inputval | message input value to check | |
[out] | errval | address or return error value *errval value to use in rpc-error if any errors |