From 0573cda1b335a9dfbcc33d5b61964dcaae2ed165 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Sun, 27 Mar 2016 19:27:30 +0200 Subject: WIP --- c_src/erlport.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 c_src/erlport.h (limited to 'c_src/erlport.h') 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 -- cgit v1.1