summaryrefslogtreecommitdiff
path: root/c_src/erlport.h
blob: 2d7821f88e2568dced62249c0468a23cce4a8d00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Copyright (c) 2014-2015, NORDUnet A/S.
 * See LICENSE for licensing information.
 */

#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);

int
write_reply(unsigned char *msg, size_t len, size_t length_size);

int
write_status(char *msg);

#ifdef __cplusplus
}
#endif
#endif