summaryrefslogtreecommitdiff
path: root/erts/emulator/nifs/common/prim_socket_int.h
diff options
context:
space:
mode:
authorMicael Karlberg <bmk@erlang.org>2023-01-10 10:39:09 +0100
committerMicael Karlberg <bmk@erlang.org>2023-01-10 10:39:09 +0100
commit292afe23caa237bf296a7cb1029e3005cc9ae555 (patch)
treed92d9d3ff9d0c2e55fe019d0cf63f5ebed91b74a /erts/emulator/nifs/common/prim_socket_int.h
parent24b57a4de45b104cc329883ea3f0b66d42277c4f (diff)
downloaderlang-292afe23caa237bf296a7cb1029e3005cc9ae555.tar.gz
[erts|esock] Moved the fin-close function to unix file
Moved the content of the function esock_finalyze_close to the unix essio file (essio_fin_close). OTP-18029
Diffstat (limited to 'erts/emulator/nifs/common/prim_socket_int.h')
-rw-r--r--erts/emulator/nifs/common/prim_socket_int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/nifs/common/prim_socket_int.h b/erts/emulator/nifs/common/prim_socket_int.h
index 16722e6fba..162d1db584 100644
--- a/erts/emulator/nifs/common/prim_socket_int.h
+++ b/erts/emulator/nifs/common/prim_socket_int.h
@@ -707,5 +707,9 @@ extern ESockSendfileCounters initESockSendfileCounters;
*/
extern BOOLEAN_T esock_do_stop(ErlNifEnv* env,
ESockDescriptor* descP);
+extern int esock_close_socket(ErlNifEnv* env,
+ ESockDescriptor* descP,
+ BOOLEAN_T unlock);
+
#endif // PRIM_SOCKET_INT_H__