libcbor 0.12.0
libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format.
Loading...
Searching...
No Matches
stack.h File Reference
#include "cbor/common.h"

Go to the source code of this file.

Data Structures

struct  _cbor_stack_record
 Simple stack record for the parser. More...
 
struct  _cbor_stack
 Stack handle - contents and size. More...
 

Functions

struct _cbor_stack _cbor_stack_init (void)
 
void _cbor_stack_pop (struct _cbor_stack *)
 
struct _cbor_stack_record_cbor_stack_push (struct _cbor_stack *, cbor_item_t *, size_t)
 

Function Documentation

◆ _cbor_stack_init()

struct _cbor_stack _cbor_stack_init ( void )

Definition at line 10 of file stack.c.

◆ _cbor_stack_pop()

void _cbor_stack_pop ( struct _cbor_stack * stack)

Definition at line 14 of file stack.c.

◆ _cbor_stack_push()

struct _cbor_stack_record * _cbor_stack_push ( struct _cbor_stack * stack,
cbor_item_t * item,
size_t subitems )

Definition at line 21 of file stack.c.