yumapro  20.10-12
YumaPro SDK
obj_errmsg.h File Reference

Handles errmsg data structures. More...

#include <xmlstring.h>
#include "obj.h"
#include "status_enum.h"
Include dependency graph for obj_errmsg.h:

Go to the source code of this file.

Functions

void obj_errmsg_clean (obj_template_t *obj)
 Clean the error messages within an object template. More...
 
status_t obj_errmsg_add (obj_template_t *obj, const xmlChar *basestr, obj_errmsg_t **ret_errmsg)
 Create a new obj_errmsg struct for the object. More...
 
status_t obj_errmsg_add_parm (obj_errmsg_t *errmsg, const xmlChar *parmstr)
 Add an errmsg parameter for the object. More...
 
status_t obj_errmsg_add_filter (obj_errmsg_t *errmsg, const xmlChar *parmstr, boolean is_errortag)
 Add an errmsg filter for the object. More...
 
status_t obj_errmsg_set_lang (obj_errmsg_t *errmsg, const xmlChar *langstr)
 Set the errmsg-lang for the errmsg. More...
 
status_t obj_errmsg_check_val (const xmlChar *error_tag, const xmlChar *error_app_tag, const xmlChar *error_lang, val_value_t *error_val, xmlChar **retmsg)
 Get the custom error message if any configured for the eror_val. More...
 
status_t obj_errmsg_test_val (const xmlChar *error_tag, const xmlChar *error_app_tag, const xmlChar *error_lang, val_value_t *error_val)
 Check if there needs to be a custom error msg. More...
 

Detailed Description

Handles errmsg data structures.