/*
* MessagePack unpacking routine template
*
* Copyright ( C ) 2008 - 2010 FURUHASHI Sadayuki
*
* Distributed under the Boost Software License , Version 1 . 0 .
* ( See accompanying file LICENSE_1_0 . txt or copy at
* http : //www.boost.org/LICENSE_1_0.txt)
*/
#ifndef MSGPACK_UNPACK_DEFINE_H
#define MSGPACK_UNPACK_DEFINE_H
#include "msgpack/sysdep.h"
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef MSGPACK_EMBED_STACK_SIZE
#define MSGPACK_EMBED_STACK_SIZE 32
#endif
typedef enum {
MSGPACK_CS_HEADER = 0 x00, // nil
//MSGPACK_CS_ = 0x01,
//MSGPACK_CS_ = 0x02, // false
//MSGPACK_CS_ = 0x03, // true
MSGPACK_CS_BIN_8 = 0 x04,
MSGPACK_CS_BIN_16 = 0 x05,
MSGPACK_CS_BIN_32 = 0 x06,
MSGPACK_CS_EXT_8 = 0 x07,
MSGPACK_CS_EXT_16 = 0 x08,
MSGPACK_CS_EXT_32 = 0 x09,
MSGPACK_CS_FLOAT = 0 x0a,
MSGPACK_CS_DOUBLE = 0 x0b,
MSGPACK_CS_UINT_8 = 0 x0c,
MSGPACK_CS_UINT_16 = 0 x0d,
MSGPACK_CS_UINT_32 = 0 x0e,
MSGPACK_CS_UINT_64 = 0 x0f,
MSGPACK_CS_INT_8 = 0 x10,
MSGPACK_CS_INT_16 = 0 x11,
MSGPACK_CS_INT_32 = 0 x12,
MSGPACK_CS_INT_64 = 0 x13,
MSGPACK_CS_FIXEXT_1 = 0 x14,
MSGPACK_CS_FIXEXT_2 = 0 x15,
MSGPACK_CS_FIXEXT_4 = 0 x16,
MSGPACK_CS_FIXEXT_8 = 0 x17,
MSGPACK_CS_FIXEXT_16 = 0 x18,
MSGPACK_CS_STR_8 = 0 x19, // str8
MSGPACK_CS_STR_16 = 0 x1a, // str16
MSGPACK_CS_STR_32 = 0 x1b, // str32
MSGPACK_CS_ARRAY_16 = 0 x1c,
MSGPACK_CS_ARRAY_32 = 0 x1d,
MSGPACK_CS_MAP_16 = 0 x1e,
MSGPACK_CS_MAP_32 = 0 x1f,
//MSGPACK_ACS_BIG_INT_VALUE,
//MSGPACK_ACS_BIG_FLOAT_VALUE,
MSGPACK_ACS_STR_VALUE,
MSGPACK_ACS_BIN_VALUE,
MSGPACK_ACS_EXT_VALUE
} msgpack_unpack_state;
typedef enum {
MSGPACK_CT_ARRAY_ITEM,
MSGPACK_CT_MAP_KEY,
MSGPACK_CT_MAP_VALUE
} msgpack_container_type;
#ifdef __cplusplus
}
#endif
#endif /* msgpack/unpack_define.h */
Messung V0.5 in Prozent C=90 H=89 G=89
¤ Dauer der Verarbeitung: 0.3 Sekunden
¤
*© Formatika GbR, Deutschland