aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/include
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2009-12-08 10:17:45 +0000
committerErlang/OTP <[email protected]>2009-12-08 10:17:45 +0000
commit75ec723f1dcb6e76b481e64f01d72a43df39b276 (patch)
treee8e504ad3596f2e4b341dfcac9bcd442dc00703b /lib/erl_interface/include
parentee51ffa886cdbc7a577d6e068236c107f0137696 (diff)
downloadotp-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.h6
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.