yumapro  24.10-1
YumaPro SDK
Loading...
Searching...
No Matches
cbor_wr_parms_t Struct Reference

Parameter Request Block used instead of passing lots of leafs. More...

#include <cbor_wr.h>

Collaboration diagram for cbor_wr_parms_t:

Data Fields

val_nodetest_fn_t testfn
 testfn callback function to use, NULL if not used
 
boolean expand_varexpr
 expand var expressions; used in yangcli mostly TRUE if expanding variable expressions
FALSE if not expanding variable expressions
 
xmlns_id_t parent_nsid
 parent namespace ID
 
ncx_sid_t parent_sid
 parent SID
 
boolean force_parent_sid
 force parent SID: allows nested object to be written as if it were the top node. More...
 
boolean file_write
 TBD: TRUE if writing to a file instead of a session.
 
boolean with_origin
 TBD: TRUE if origin attributes needed.
 
boolean with_owners
 TBD: TRUE if owner attributes needed.
 
ncx_nmda_origin_t parent_origin
 TBD: parent node origin enum.
 
ncx_nmda_origin_t origin
 TBD: current origin enum.
 
boolean maxmode
 TRUE if max depth already reached.
 
boolean content_only
 TRUE if only requesting val contents not full val.
 
boolean is_empty
 TRUE if calling cbor_wr_begin_elem and really want an empty leaf instead. More...
 
boolean acm_check
 TRUE if an acmcheck should be done FALSE if skip acmcheck (use this for notifications!
 
boolean force_names
 TRUE if inside an anyxml or anydata so names are forced instead of possibly using internal SIDs.
 

Detailed Description

Parameter Request Block used instead of passing lots of leafs.

Field Documentation

◆ force_parent_sid

boolean force_parent_sid

force parent SID: allows nested object to be written as if it were the top node.

Will cause zero to be used instead of ignored

◆ is_empty

boolean is_empty

TRUE if calling cbor_wr_begin_elem and really want an empty leaf instead.

Ignored otherwise!


The documentation for this struct was generated from the following file: