diff options
author | Rickard Green <[email protected]> | 2019-03-12 22:52:31 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2019-03-19 20:37:41 +0100 |
commit | 80abf9d57e754bcb6b80d0501450a40bb281d3b6 (patch) | |
tree | f80971a1fc09e4550394d089b9e80970df649e7b /erts/emulator/beam/dist.h | |
parent | 1518224b7f955dfb8cdef04eac89d8f6df1694a1 (diff) | |
download | otp-80abf9d57e754bcb6b80d0501450a40bb281d3b6.tar.gz otp-80abf9d57e754bcb6b80d0501450a40bb281d3b6.tar.bz2 otp-80abf9d57e754bcb6b80d0501450a40bb281d3b6.zip |
Add possibility to also get size of data from erlang:dist_ctrl_get_data()
Diffstat (limited to 'erts/emulator/beam/dist.h')
-rw-r--r-- | erts/emulator/beam/dist.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/dist.h b/erts/emulator/beam/dist.h index c4bb967592..5bd22cc31f 100644 --- a/erts/emulator/beam/dist.h +++ b/erts/emulator/beam/dist.h @@ -172,6 +172,9 @@ extern int erts_is_alive; /* Pending connection; signals can be enqueued */ #define ERTS_DSIG_PREP_PENDING 4 +/* dist_ctrl_{g,s}et_option/2 */ +#define ERTS_DIST_CTRL_OPT_GET_SIZE ((Uint32) (1 << 0)) + #ifdef DEBUG #define ERTS_DBG_CHK_NO_DIST_LNK(D, R, L) \ erts_dbg_chk_no_dist_proc_link((D), (R), (L)) |