CNDP  22.08.0
obj_value Struct Reference

#include <jcfg.h>

Data Fields

obj_type_t type
 
uint16_t array_sz
 
int boolean
 
int64_t value
 
char * str
 

Detailed Description

JCFG Object information

Examples
examples/cnet-graph/cnet-graph.c, and examples/cnet-quic/cnet-quic.c.

Definition at line 99 of file jcfg.h.

Field Documentation

◆ type

◆ array_sz

uint16_t array_sz

Array size if array type

Examples
examples/cnet-graph/cnet-graph.c, and examples/cnet-quic/cnet-quic.c.

Definition at line 101 of file jcfg.h.

◆ boolean

◆ value

int64_t value

Value of option if integer

Definition at line 105 of file jcfg.h.

◆ str

char* str

String pointer if string (must be freed)

Examples
examples/cndpfwd/parse-args.c, examples/cnet-graph/cnet-graph.c, and examples/cnet-quic/cnet-quic.c.

Definition at line 106 of file jcfg.h.


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