yumapro  20.10-12
YumaPro SDK
agt_templates.h File Reference

YANG Configuration Templates (yumaworks-templates.yang) More...

#include <xmlstring.h>
#include "obj.h"
#include "val.h"
#include "ses.h"
#include "status_enum.h"
#include "rpc.h"
#include "xml_util.h"
Include dependency graph for agt_templates.h:

Go to the source code of this file.

Functions

status_t agt_templates_init (void)
 initialize the yumaworks-templates More...
 
void agt_templates_cleanup (void)
 Cleanup the yumaworks-templates. More...
 
status_t agt_templates_set (const xmlChar *name, const xmlChar *targstr, obj_template_t *targobj, val_value_t *targval)
 Set a config template (new or replace) More...
 
void agt_templates_clear (const xmlChar *name)
 Clear a config template if found. More...
 
status_t agt_templates_validate_parm (ses_cb_t *scb, rpc_msg_t *msg, xml_node_t *methnode)
 Check for with-template parameter. More...
 
status_t agt_templates_apply_parm (rpc_msg_t *msg, val_value_t *newval)
 Apply a template to a subtree. More...
 

Detailed Description

YANG Configuration Templates (yumaworks-templates.yang)