diff options
author | Björn-Egil Dahlberg <[email protected]> | 2009-12-08 10:17:45 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2009-12-08 10:17:45 +0000 |
commit | 75ec723f1dcb6e76b481e64f01d72a43df39b276 (patch) | |
tree | e8e504ad3596f2e4b341dfcac9bcd442dc00703b /lib/erl_interface/include | |
parent | ee51ffa886cdbc7a577d6e068236c107f0137696 (diff) | |
download | otp-75ec723f1dcb6e76b481e64f01d72a43df39b276.tar.gz otp-75ec723f1dcb6e76b481e64f01d72a43df39b276.tar.bz2 otp-75ec723f1dcb6e76b481e64f01d72a43df39b276.zip |
OTP-5037 Document debug support.
Debug trace output for connection activity could be enabled
setting the trace level as an integer to the EI_TRACELEVEL
environment variable. This option could also be read and set from
a running program using ei_get_tracelevel(void) and
ei_set_tracelevel(int).
Diffstat (limited to 'lib/erl_interface/include')
-rw-r--r-- | lib/erl_interface/include/ei.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/erl_interface/include/ei.h b/lib/erl_interface/include/ei.h index 01272244e1..d1a697615a 100644 --- a/lib/erl_interface/include/ei.h +++ b/lib/erl_interface/include/ei.h @@ -339,7 +339,13 @@ const char *ei_thisalivename(const ei_cnode* ec); erlang_pid *ei_self(ei_cnode* ec); +/* + * settings + */ + void ei_set_compat_rel(unsigned rel); +void ei_set_tracelevel(int); +int ei_get_tracelevel(void); /* * We have erl_gethost*() so we include ei versions as well. |