yumapro  23.10T-7
YumaPro SDK
Loading...
Searching...
No Matches
cbor_wr.h File Reference

CBOR Write functions. More...

#include <stdio.h>
#include <xmlstring.h>
#include "getcb.h"
#include "ncxtypes.h"
#include "ses.h"
#include "status.h"
#include "val.h"
#include "val_util.h"
#include "xml_msg.h"
Include dependency graph for cbor_wr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cbor_wr_parms_t
 Parameter Request Block used instead of passing lots of leafs. More...
 
struct  cbor_walker_cookie_t
 XML walker cookie for GET callback processing. More...
 

Functions

void cbor_wr_begin_elem (ses_cb_t *scb, xml_msg_hdr_t *msg, obj_template_t *obj, cbor_wr_parms_t *parms)
 Write a start CBOR node to the specified session. More...
 
void cbor_wr_begin_list (ses_cb_t *scb, xml_msg_hdr_t *msg)
 Write a start CBOR list entry. More...
 
void cbor_wr_end_elem (ses_cb_t *scb, xml_msg_hdr_t *msg, obj_template_t *obj)
 Write an end container: indef (break) to the specified session. More...
 
void cbor_wr_string_elem (ses_cb_t *scb, xml_msg_hdr_t *msg, const xmlChar *strval, obj_template_t *obj, cbor_wr_parms_t *parms)
 Write a string CBOR node to the specified session. More...
 
void cbor_wr_uint_elem (ses_cb_t *scb, xml_msg_hdr_t *msg, uint64 val, obj_template_t *obj, cbor_wr_parms_t *parms)
 Write a UINT CBOR node to the specified session. More...
 
void cbor_wr_val (ses_cb_t *scb, xml_msg_hdr_t *msg, val_value_t *val, cbor_wr_parms_t *parms)
 Output val_value_t node contents only. More...
 
void cbor_wr_child_obj (ses_cb_t *scb, xml_msg_hdr_t *msg, getcb_get2_t *parent_get2cb, obj_template_t *objnode, cbor_wr_parms_t *parms)
 Write an entire <get2> val_value_t out from the obj_template_t callback. More...
 
void cbor_wr_start_msg (ses_cb_t *scb)
 Write the CBOR start message byte. More...
 
status_t cbor_wr_file (const xmlChar *filespec, xml_msg_hdr_t *hdr, val_value_t *val, cbor_wr_parms_t *parms)
 Write the specified value to a FILE in CBOR format. More...
 
status_t cbor_wr_open_file (FILE *fp, xml_msg_hdr_t *hdr, val_value_t *val, cbor_wr_parms_t *parms)
 Write the specified value to an open FILE in CBOR format. More...
 

Detailed Description

CBOR Write functions.