yumapro  25.10-2
YumaPro SDK
Loading...
Searching...
No Matches

YANG pattern struct : N per typedef and also across N typdefs in a chain: all are ANDed together like RelaxNG instead of ORed together within the same type step like XSD. More...

#include <typ.h>

Collaboration diagram for typ_pattern_t:

Data Structures

union  p_
 union contains either a YANG pattern or an OC pattern More...
 

Data Fields

dlq_hdr_t qhdr
 queue header
 
xmlChar * pat_str
 pattern string
 
ncx_errinfo_t pat_errinfo
 error override data for this pattern
 
boolean ocpattern_mode
 YANG vs. More...
 
boolean ocpattern_set
 make sure not to access ocpattern until set
 
status_t pat_res
 save error status for regex-filter usage if the pattern fails to compile the 'pat' will be saved in val_extra anyway. More...
 

Detailed Description

YANG pattern struct : N per typedef and also across N typdefs in a chain: all are ANDed together like RelaxNG instead of ORed together within the same type step like XSD.

Field Documentation

◆ ocpattern_mode

boolean ocpattern_mode

YANG vs.

openconfig flag

◆ pat_res

status_t pat_res

save error status for regex-filter usage if the pattern fails to compile the 'pat' will be saved in val_extra anyway.

agt_tree will

  • starts out as ERR_NCX_SKIPPED
  • set to NO_ERR if pattern compiles OK
  • probably set to ERR_NCX_INVALID_PATTERN if error

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