aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/nifs/common/socket_util.h
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2018-06-20 12:33:18 +0200
committerMicael Karlberg <[email protected]>2018-09-18 14:50:18 +0200
commit6632cb103336786f3ca12f9d1f1d3338fc76c237 (patch)
treee756e471b64e5a4a6790c4e5c999a76aa3467c19 /erts/emulator/nifs/common/socket_util.h
parent44cfb3d222ba4d20607af7cc654746f84ece3989 (diff)
downloadotp-6632cb103336786f3ca12f9d1f1d3338fc76c237.tar.gz
otp-6632cb103336786f3ca12f9d1f1d3338fc76c237.tar.bz2
otp-6632cb103336786f3ca12f9d1f1d3338fc76c237.zip
[net-nif] Changed return type of getaddrinfo
The returned address info was supposed to be a map, by was instead (still) a record. 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 add2c8f4be..cd8cc7e1fb 100644
--- a/erts/emulator/nifs/common/socket_util.h
+++ b/erts/emulator/nifs/common/socket_util.h
@@ -134,6 +134,11 @@ char* esock_encode_protocol(ErlNifEnv* env,
ERL_NIF_TERM* eProtocol);
extern
+BOOLEAN_T esock_decode_string(ErlNifEnv* env,
+ const ERL_NIF_TERM eString,
+ char** stringP);
+
+extern
BOOLEAN_T esock_decode_bool(ERL_NIF_TERM val);
extern
ERL_NIF_TERM esock_encode_bool(BOOLEAN_T val);