summaryrefslogtreecommitdiff
path: root/php/msgpack_pack.h
diff options
context:
space:
mode:
Diffstat (limited to 'php/msgpack_pack.h')
-rw-r--r--php/msgpack_pack.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/php/msgpack_pack.h b/php/msgpack_pack.h
new file mode 100644
index 0000000..96cfd4e
--- /dev/null
+++ b/php/msgpack_pack.h
@@ -0,0 +1,17 @@
+
+#ifndef MSGPACL_PACK_H
+#define MSGPACL_PACK_H
+
+#include "ext/standard/php_smart_str.h"
+
+enum msgpack_serialize_type
+{
+ MSGPACK_SERIALIZE_TYPE_REFERENCE = 1,
+ MSGPACK_SERIALIZE_TYPE_OBJECT,
+ MSGPACK_SERIALIZE_TYPE_CUSTOM_OBJECT,
+};
+
+void msgpack_serialize_zval(
+ smart_str *buf, zval *val, HashTable *var_hash TSRMLS_DC);
+
+#endif