summaryrefslogtreecommitdiff
path: root/c_src/erlport.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2016-03-27 19:27:30 +0200
committerLinus Nordberg <linus@nordu.net>2016-04-07 16:06:12 +0200
commit0573cda1b335a9dfbcc33d5b61964dcaae2ed165 (patch)
treea02169dd7464a54a5b8abf6dc4862f8f64982198 /c_src/erlport.h
parente6b1d5a4a8227603eaeb986e9594b595e847832b (diff)
WIP
Diffstat (limited to 'c_src/erlport.h')
-rw-r--r--c_src/erlport.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/c_src/erlport.h b/c_src/erlport.h
new file mode 100644
index 0000000..58b2591
--- /dev/null
+++ b/c_src/erlport.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2014-2015, NORDUnet A/S.
+ * See LICENSE for licensing information.
+ */
+
+#ifndef ERLPORT_H
+#define ERLPORT_H
+
+ssize_t
+read_command(unsigned char *buf, size_t maxlen, size_t length_size);
+
+int
+write_reply(unsigned char *msg, size_t len, size_t length_size);
+
+int
+write_status(char *msg);
+
+#endif