aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded/src/erts_internal.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-11-15 19:44:52 +0100
committerSverker Eriksson <[email protected]>2017-11-15 20:36:01 +0100
commit19c9f3a61fbef3682056bab3db4787cd763bd06e (patch)
tree5e328e04d2ee977cef39f3f9099fec448ec7bf59 /erts/preloaded/src/erts_internal.erl
parent2f7a0afbbf34699ac1cc1733e3634c1cbeb94c5d (diff)
downloadotp-19c9f3a61fbef3682056bab3db4787cd763bd06e.tar.gz
otp-19c9f3a61fbef3682056bab3db4787cd763bd06e.tar.bz2
otp-19c9f3a61fbef3682056bab3db4787cd763bd06e.zip
Move new|abort_connection_id to erts_internal
and drop _id suffix.
Diffstat (limited to 'erts/preloaded/src/erts_internal.erl')
-rw-r--r--erts/preloaded/src/erts_internal.erl16
1 files changed, 16 insertions, 0 deletions
diff --git a/erts/preloaded/src/erts_internal.erl b/erts/preloaded/src/erts_internal.erl
index bb1824ecd4..1f5c88c4b9 100644
--- a/erts/preloaded/src/erts_internal.erl
+++ b/erts/preloaded/src/erts_internal.erl
@@ -63,6 +63,9 @@
-export([dist_ctrl_put_data/2]).
+-export([new_connection/1]).
+-export([abort_connection/2]).
+
%% Auto import name clash
-export([check_process_code/1]).
@@ -498,3 +501,16 @@ dist_ctrl_put_data(DHandle, IoList) ->
| RootST],
erlang:raise(Class, Reason, StackTrace)
end.
+
+
+-spec erts_internal:new_connection(Node) -> ConnId when
+ Node :: atom(),
+ ConnId :: {integer(), erlang:dist_handle()}.
+new_connection(_Node) ->
+ erlang:nif_error(undefined).
+
+-spec erts_internal:abort_connection(Node, ConnId) -> boolean() when
+ Node :: atom(),
+ ConnId :: {integer(), erlang:dist_handle()}.
+abort_connection(_Node, _ConnId) ->
+ erlang:nif_error(undefined).