MessagePack for C
Macros | Enumerations
unpack_define.h File Reference
#include "msgpack/sysdep.h"
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdio.h>

Go to the source code of this file.

Macros

#define MSGPACK_EMBED_STACK_SIZE   32
 

Enumerations

enum  msgpack_unpack_state {
  MSGPACK_CS_HEADER = 0x00, MSGPACK_CS_BIN_8 = 0x04, MSGPACK_CS_BIN_16 = 0x05, MSGPACK_CS_BIN_32 = 0x06,
  MSGPACK_CS_EXT_8 = 0x07, MSGPACK_CS_EXT_16 = 0x08, MSGPACK_CS_EXT_32 = 0x09, MSGPACK_CS_FLOAT = 0x0a,
  MSGPACK_CS_DOUBLE = 0x0b, MSGPACK_CS_UINT_8 = 0x0c, MSGPACK_CS_UINT_16 = 0x0d, MSGPACK_CS_UINT_32 = 0x0e,
  MSGPACK_CS_UINT_64 = 0x0f, MSGPACK_CS_INT_8 = 0x10, MSGPACK_CS_INT_16 = 0x11, MSGPACK_CS_INT_32 = 0x12,
  MSGPACK_CS_INT_64 = 0x13, MSGPACK_CS_FIXEXT_1 = 0x14, MSGPACK_CS_FIXEXT_2 = 0x15, MSGPACK_CS_FIXEXT_4 = 0x16,
  MSGPACK_CS_FIXEXT_8 = 0x17, MSGPACK_CS_FIXEXT_16 = 0x18, MSGPACK_CS_STR_8 = 0x19, MSGPACK_CS_STR_16 = 0x1a,
  MSGPACK_CS_STR_32 = 0x1b, MSGPACK_CS_ARRAY_16 = 0x1c, MSGPACK_CS_ARRAY_32 = 0x1d, MSGPACK_CS_MAP_16 = 0x1e,
  MSGPACK_CS_MAP_32 = 0x1f, MSGPACK_ACS_STR_VALUE, MSGPACK_ACS_BIN_VALUE, MSGPACK_ACS_EXT_VALUE
}
 
enum  msgpack_container_type { MSGPACK_CT_ARRAY_ITEM, MSGPACK_CT_MAP_KEY, MSGPACK_CT_MAP_VALUE }
 

Macro Definition Documentation

◆ MSGPACK_EMBED_STACK_SIZE

#define MSGPACK_EMBED_STACK_SIZE   32

Enumeration Type Documentation

◆ msgpack_container_type

Enumerator
MSGPACK_CT_ARRAY_ITEM 
MSGPACK_CT_MAP_KEY 
MSGPACK_CT_MAP_VALUE 

◆ msgpack_unpack_state

Enumerator
MSGPACK_CS_HEADER 
MSGPACK_CS_BIN_8 
MSGPACK_CS_BIN_16 
MSGPACK_CS_BIN_32 
MSGPACK_CS_EXT_8 
MSGPACK_CS_EXT_16 
MSGPACK_CS_EXT_32 
MSGPACK_CS_FLOAT 
MSGPACK_CS_DOUBLE 
MSGPACK_CS_UINT_8 
MSGPACK_CS_UINT_16 
MSGPACK_CS_UINT_32 
MSGPACK_CS_UINT_64 
MSGPACK_CS_INT_8 
MSGPACK_CS_INT_16 
MSGPACK_CS_INT_32 
MSGPACK_CS_INT_64 
MSGPACK_CS_FIXEXT_1 
MSGPACK_CS_FIXEXT_2 
MSGPACK_CS_FIXEXT_4 
MSGPACK_CS_FIXEXT_8 
MSGPACK_CS_FIXEXT_16 
MSGPACK_CS_STR_8 
MSGPACK_CS_STR_16 
MSGPACK_CS_STR_32 
MSGPACK_CS_ARRAY_16 
MSGPACK_CS_ARRAY_32 
MSGPACK_CS_MAP_16 
MSGPACK_CS_MAP_32 
MSGPACK_ACS_STR_VALUE 
MSGPACK_ACS_BIN_VALUE 
MSGPACK_ACS_EXT_VALUE