aboutsummaryrefslogtreecommitdiffstats
path: root/src/msg.h
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2008-03-02 12:09:42 -0500
committerBrian Cully <github.20.shmit@spamgourmet.com>2008-03-02 12:09:42 -0500
commit40547b6702940c68cec48be580d80a6d95614c29 (patch)
tree27bab5b63a2ad91ff9bb08b9e01fc81b409bc63c /src/msg.h
parent4c31a79f1f76b6d80fffd05180dadcbb5a882293 (diff)
downloadmysqlerl-40547b6702940c68cec48be580d80a6d95614c29.tar.gz
mysqlerl-40547b6702940c68cec48be580d80a6d95614c29.zip
Move msg handlers to modules, and make it ETERM based.
Diffstat (limited to 'src/msg.h')
-rw-r--r--src/msg.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/msg.h b/src/msg.h
new file mode 100644
index 0000000..2cbf31b
--- /dev/null
+++ b/src/msg.h
@@ -0,0 +1,13 @@
+#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