aboutsummaryrefslogtreecommitdiffstats
path: root/c_src/msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'c_src/msg.h')
-rw-r--r--c_src/msg.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/c_src/msg.h b/c_src/msg.h
new file mode 100644
index 0000000..6db2aa8
--- /dev/null
+++ b/c_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