diff options
author | Sverker Eriksson <[email protected]> | 2018-02-26 15:36:34 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-03-02 19:16:48 +0100 |
commit | 337919abe6ed9a97e15d5f471ef8f79d44cb8363 (patch) | |
tree | ea9669087d2a27cf1fede34ba802995b9d0d56e1 /erts/preloaded | |
parent | 9a472f2899519234198f677269c5e70362bec351 (diff) | |
download | otp-337919abe6ed9a97e15d5f471ef8f79d44cb8363.tar.gz otp-337919abe6ed9a97e15d5f471ef8f79d44cb8363.tar.bz2 otp-337919abe6ed9a97e15d5f471ef8f79d44cb8363.zip |
erts,kernel: Add erts_internal:get_dflags/0
for kernel to ask erts about distribution flags
and keep this info in one place.
Diffstat (limited to 'erts/preloaded')
-rw-r--r-- | erts/preloaded/ebin/erts_internal.beam | bin | 13964 -> 14100 bytes | |||
-rw-r--r-- | erts/preloaded/src/erts_internal.erl | 5 |
2 files changed, 5 insertions, 0 deletions
diff --git a/erts/preloaded/ebin/erts_internal.beam b/erts/preloaded/ebin/erts_internal.beam Binary files differindex 7d2edd9845..7206b0415d 100644 --- a/erts/preloaded/ebin/erts_internal.beam +++ b/erts/preloaded/ebin/erts_internal.beam diff --git a/erts/preloaded/src/erts_internal.erl b/erts/preloaded/src/erts_internal.erl index a083e9ac2f..291a8e8fa8 100644 --- a/erts/preloaded/src/erts_internal.erl +++ b/erts/preloaded/src/erts_internal.erl @@ -63,6 +63,7 @@ -export([dist_ctrl_put_data/2]). +-export([get_dflags/0]). -export([new_connection/1]). -export([abort_connection/2]). @@ -510,6 +511,10 @@ dist_ctrl_put_data(DHandle, IoList) -> end. +-spec erts_internal:get_dflags() -> {erts_dflags,integer(),integer(),integer(),integer()}. +get_dflags() -> + erlang:nif_error(undefined). + -spec erts_internal:new_connection(Node) -> ConnId when Node :: atom(), ConnId :: {integer(), erlang:dist_handle()}. |