aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/nifs/common/socket_util.h
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2018-07-31 12:53:52 +0200
committerMicael Karlberg <[email protected]>2018-09-18 14:50:18 +0200
commitd4c6b555aea77198d662822c7f5a134a16cff8af (patch)
tree51fbbc59bd11e850f866b95f41cccaebdc3f186c /erts/emulator/nifs/common/socket_util.h
parent165666d8b8b1b21ffaf43ac436cfc1657ba83649 (diff)
downloadotp-d4c6b555aea77198d662822c7f5a134a16cff8af.tar.gz
otp-d4c6b555aea77198d662822c7f5a134a16cff8af.tar.bz2
otp-d4c6b555aea77198d662822c7f5a134a16cff8af.zip
[socket-nif] Debugged and stuff
It seems to work, with atleast some of the cmsg options. More testing needed... OTP-14831
Diffstat (limited to 'erts/emulator/nifs/common/socket_util.h')
-rw-r--r--erts/emulator/nifs/common/socket_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/nifs/common/socket_util.h b/erts/emulator/nifs/common/socket_util.h
index af0bf70d8f..5a79eb3d09 100644
--- a/erts/emulator/nifs/common/socket_util.h
+++ b/erts/emulator/nifs/common/socket_util.h
@@ -39,6 +39,7 @@ extern
char* esock_encode_msghdr(ErlNifEnv* env,
int read,
struct msghdr* msgHdrP,
+ ErlNifBinary* dataBufP,
ErlNifBinary* ctrlBufP,
ERL_NIF_TERM* eSockAddr);
extern
@@ -46,6 +47,7 @@ char* esock_encode_iov(ErlNifEnv* env,
int read,
struct iovec* iov,
size_t len,
+ ErlNifBinary* data,
ERL_NIF_TERM* eIOV);
extern
char* esock_encode_cmsghdrs(ErlNifEnv* env,