aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/nifs/common/socket_util.h
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2018-07-13 12:34:06 +0200
committerMicael Karlberg <[email protected]>2018-09-18 14:50:18 +0200
commit416644989e26ac76038523511d81ebf9e0b8fc4f (patch)
treed730c1ba62de3789cbdd25d9c21aca09b23694f8 /erts/emulator/nifs/common/socket_util.h
parent3a2c48b2740f08d3582028fd2f8d626009aa911e (diff)
downloadotp-416644989e26ac76038523511d81ebf9e0b8fc4f.tar.gz
otp-416644989e26ac76038523511d81ebf9e0b8fc4f.tar.bz2
otp-416644989e26ac76038523511d81ebf9e0b8fc4f.zip
[net+socket-nif] Updated on_load stuff
The net nif-module had debug on by default. Fixed this and also made it an option, just as for the socket nif-module. OTP-14831
Diffstat (limited to 'erts/emulator/nifs/common/socket_util.h')
-rw-r--r--erts/emulator/nifs/common/socket_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/nifs/common/socket_util.h b/erts/emulator/nifs/common/socket_util.h
index f1c122e281..686ce0bac6 100644
--- a/erts/emulator/nifs/common/socket_util.h
+++ b/erts/emulator/nifs/common/socket_util.h
@@ -133,6 +133,11 @@ BOOLEAN_T esock_decode_string(ErlNifEnv* env,
char** stringP);
extern
+BOOLEAN_T esock_extract_bool_from_map(ErlNifEnv* env,
+ ERL_NIF_TERM map,
+ ERL_NIF_TERM key,
+ BOOLEAN_T def);
+extern
BOOLEAN_T esock_decode_bool(ERL_NIF_TERM val);
extern
ERL_NIF_TERM esock_encode_bool(BOOLEAN_T val);