summaryrefslogtreecommitdiff
path: root/c/unpack.h
diff options
context:
space:
mode:
authorfrsyuki <frsyuki@5a5092ae-2292-43ba-b2d5-dcab9c1a2731>2009-02-15 09:10:02 +0000
committerfrsyuki <frsyuki@5a5092ae-2292-43ba-b2d5-dcab9c1a2731>2009-02-15 09:10:02 +0000
commita114f4a5a5136a24f46bb52ffef1d1f588ba94e1 (patch)
treeb5f5a3319ec12a90f9ee5296ce91410d7346ba68 /c/unpack.h
parent81a771094d2c54437ca20c3c09a5c8f05f81d0c5 (diff)
downloadmsgpack-python-a114f4a5a5136a24f46bb52ffef1d1f588ba94e1.tar.gz
update pack/unpack routines
git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@100 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
Diffstat (limited to 'c/unpack.h')
-rw-r--r--c/unpack.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/c/unpack.h b/c/unpack.h
index c1cacab..4977f51 100644
--- a/c/unpack.h
+++ b/c/unpack.h
@@ -1,7 +1,7 @@
/*
- * MessagePack unpacking routine for C
+ * MessagePack for C unpacking routine
*
- * Copyright (C) 2008 FURUHASHI Sadayuki
+ * Copyright (C) 2008-2009 FURUHASHI Sadayuki
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -54,11 +54,11 @@ typedef struct {
msgpack_unpack_t* msgpack_unpack_new(void* data, msgpack_unpack_callback* callback);
void msgpack_unpack_free(msgpack_unpack_t* ctx);
-void msgpack_unpack_reset(msgpack_unpack_t* ctx);
int msgpack_unpack_execute(msgpack_unpack_t* ctx,
const char* data, size_t len, size_t* off);
void* msgpack_unpack_data(msgpack_unpack_t* ctx);
+void msgpack_unpack_reset(msgpack_unpack_t* ctx);
#ifdef __cplusplus