aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh.hrl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-02-15 15:46:27 +0100
committerHans Nilsson <[email protected]>2018-03-29 11:58:28 +0200
commit3352eaf189c55e60778fc76b94530fac0c314fba (patch)
tree8950c26f190c31c847ffa96cb54874281a8ecb48 /lib/ssh/src/ssh.hrl
parent221dc123b58da0952fb77ff13243ecc8b53f1ae4 (diff)
downloadotp-3352eaf189c55e60778fc76b94530fac0c314fba.tar.gz
otp-3352eaf189c55e60778fc76b94530fac0c314fba.tar.bz2
otp-3352eaf189c55e60778fc76b94530fac0c314fba.zip
ssh: New ssh_dbg module
Diffstat (limited to 'lib/ssh/src/ssh.hrl')
-rw-r--r--lib/ssh/src/ssh.hrl9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh.hrl b/lib/ssh/src/ssh.hrl
index 1a2f003190..48af72210c 100644
--- a/lib/ssh/src/ssh.hrl
+++ b/lib/ssh/src/ssh.hrl
@@ -246,4 +246,13 @@
_ -> exit(Reason)
end).
+
+%% dbg help macros
+-define(wr_record(N,BlackList),
+ wr_record(R=#N{}) -> ssh_dbg:wr_record(R, record_info(fields,N), BlackList)
+ ).
+
+-define(wr_record(N), ?wr_record(N, [])).
+
+
-endif. % SSH_HRL defined