diff options
author | Micael Karlberg <[email protected]> | 2018-07-31 12:53:52 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2018-09-18 14:50:18 +0200 |
commit | d4c6b555aea77198d662822c7f5a134a16cff8af (patch) | |
tree | 51fbbc59bd11e850f866b95f41cccaebdc3f186c /erts/emulator/nifs/common/socket_util.h | |
parent | 165666d8b8b1b21ffaf43ac436cfc1657ba83649 (diff) | |
download | otp-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.h | 2 |
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, |