|
MessagePack for C
|
#include "pack_define.h"#include "object.h"#include "timestamp.h"#include <stdlib.h>#include "pack_template.h"

Go to the source code of this file.
Classes | |
| struct | msgpack_packer |
Macros | |
| #define | msgpack_pack_inline_func(name) inline int msgpack_pack ## name |
| #define | msgpack_pack_inline_func_cint(name) inline int msgpack_pack ## name |
| #define | msgpack_pack_inline_func_fixint(name) inline int msgpack_pack_fix ## name |
| #define | msgpack_pack_user msgpack_packer* |
| #define | msgpack_pack_append_buffer(user, buf, len) return (*(user)->callback)((user)->data, (const char*)buf, len) |
Typedefs | |
| typedef int(* | msgpack_packer_write) (void *data, const char *buf, size_t len) |
| typedef struct msgpack_packer | msgpack_packer |
Functions | |
| MSGPACK_DLLEXPORT int | msgpack_pack_object (msgpack_packer *pk, msgpack_object d) |
| #define msgpack_pack_append_buffer | ( | user, | |
| buf, | |||
| len | |||
| ) | return (*(user)->callback)((user)->data, (const char*)buf, len) |
| #define msgpack_pack_user msgpack_packer* |