yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
ycontrol_msg_cmn.h File Reference

YControl Message Utilities. More...

#include "status_enum.h"
#include <xmlstring.h>
#include "obj.h"
#include "val.h"
#include "ycontrol_types.h"
Include dependency graph for ycontrol_msg_cmn.h:

Go to the source code of this file.

Functions

const xmlChar * ycontrol_msg_cmn_get_msgtype (ycontrol_msgtype_t msgtype)
 Get the string for the message type enumeration. More...
 
ycontrol_msgtype_t ycontrol_msg_cmn_get_msgtype_enum (val_value_t *msgval, status_t *res)
 Get the message type enumeration from the message. More...
 
status_t ycontrol_msg_cmn_new (const xmlChar *server_id, const xmlChar *subsys_id, obj_template_t *msgobj, uint32 msgid, ycontrol_msgtype_t msgtype, const xmlChar *service_id, val_value_t **ret_msgval)
 Create a new YControl message. More...
 
status_t ycontrol_msg_cmn_reuse (val_value_t *msgval, uint32 msgid, ycontrol_msgtype_t msgtype, const xmlChar *server_id, const xmlChar *subsys_id, const xmlChar *service_id)
 Reuse a message value struct and replace only changing fields. More...
 
status_t ycontrol_msg_cmn_new_payload (obj_template_t *msgobj, val_value_t **ret_payload)
 Create a new payload value for the message object. More...
 
status_t ycontrol_msg_cmn_new_error (obj_template_t *msgobj, status_t res, const xmlChar *errstr, val_value_t **ret_error)
 Create a new YControl error response message. More...
 
status_t ycontrol_msg_cmn_reuse_error (val_value_t *error_val, status_t res, const xmlChar *errstr)
 Reuse an error message value struct and replace only changing fields. More...
 
status_t ycontrol_msg_cmn_new_ok (obj_template_t *msgobj, val_value_t **ret_ok)
 Create a new YControl OK response message. More...
 

Detailed Description

YControl Message Utilities.