diff options
author | Linus Nordberg <linus@nordu.net> | 2016-05-11 08:53:47 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-05-12 09:39:05 +0200 |
commit | 8f4eb2702f1cd41f410bc61625e7f4e97705aa96 (patch) | |
tree | b6dd8698778d16e5272ab909724f01495c0c517b /c_src/erlport.h | |
parent | 7f15cd5a881d2d14f80ddf5219577561d3d91eeb (diff) |
Initial support for leveldb as a database backend.leveldb
Not integrated in system tests (make tests) but make check will run
rudimentary tests.
Diffstat (limited to 'c_src/erlport.h')
-rw-r--r-- | c_src/erlport.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/c_src/erlport.h b/c_src/erlport.h index 58b2591..2d7821f 100644 --- a/c_src/erlport.h +++ b/c_src/erlport.h @@ -6,6 +6,10 @@ #ifndef ERLPORT_H #define ERLPORT_H +#ifdef __cplusplus +extern "C" { +#endif + ssize_t read_command(unsigned char *buf, size_t maxlen, size_t length_size); @@ -15,4 +19,7 @@ write_reply(unsigned char *msg, size_t len, size_t length_size); int write_status(char *msg); +#ifdef __cplusplus +} +#endif #endif |