aboutsummaryrefslogtreecommitdiffstats
path: root/lib/src/msg.h
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2012-02-06 19:44:47 -0500
committerBrian Cully <github.20.shmit@spamgourmet.com>2012-02-06 19:46:56 -0500
commit50f3c688a7cd4819680dbd19b9933c6cb5e62ca7 (patch)
tree5d9bf2edac40d874ec05bafc1e1e38b443879ce3 /lib/src/msg.h
parentd3b118481833acd44d724c06ce8c9d6b6ff2838a (diff)
downloadmysqlerl-50f3c688a7cd4819680dbd19b9933c6cb5e62ca7.tar.gz
mysqlerl-50f3c688a7cd4819680dbd19b9933c6cb5e62ca7.zip
Move most files into lib, add top-level makefile
Diffstat (limited to 'lib/src/msg.h')
-rw-r--r--lib/src/msg.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/src/msg.h b/lib/src/msg.h
new file mode 100644
index 0000000..6db2aa8
--- /dev/null
+++ b/lib/src/msg.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2008, Brian Cully <bjc@kublai.com>
+ */
+
+#ifndef _MSG_H
+#define _MSG_H
+
+#include <erl_interface.h>
+#include <ei.h>
+#include <stdlib.h>
+
+typedef u_int32_t msglen_t;
+
+ETERM *read_msg();
+int write_msg(ETERM *msg);
+
+#endif