aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/app/snmp_internal.hrl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2013-10-09 11:38:17 +0200
committerMicael Karlberg <[email protected]>2013-10-09 11:38:17 +0200
commit832e4112fc2d43face974333660f6c99ba5d686e (patch)
treeab4ee0f9eb1c919511e3ad3c9c60c99f07d6c316 /lib/snmp/src/app/snmp_internal.hrl
parentf9f49c3ae40eef669ed165efdc4b03ecb551a8a0 (diff)
parent7558861af77de9405decc8d88b2c799e15f266da (diff)
downloadotp-832e4112fc2d43face974333660f6c99ba5d686e.tar.gz
otp-832e4112fc2d43face974333660f6c99ba5d686e.tar.bz2
otp-832e4112fc2d43face974333660f6c99ba5d686e.zip
Merge branch 'bmk/snmp/manager/improve_user_callback_response_handling2/OTP-11307' into bmk/snmp/snmp425_integration
Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src
Diffstat (limited to 'lib/snmp/src/app/snmp_internal.hrl')
-rw-r--r--lib/snmp/src/app/snmp_internal.hrl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/snmp/src/app/snmp_internal.hrl b/lib/snmp/src/app/snmp_internal.hrl
index 5ff715e0b7..f04fa4dd53 100644
--- a/lib/snmp/src/app/snmp_internal.hrl
+++ b/lib/snmp/src/app/snmp_internal.hrl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2006-2009. All Rights Reserved.
+%% Copyright Ericsson AB 2006-2013. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -24,6 +24,8 @@
-define(APPLICATION, snmp).
-endif.
+-define(STACK(), erlang:get_stacktrace()).
+
-define(snmp_info(C, F, A), ?snmp_msg(info_msg, C, F, A)).
-define(snmp_warning(C, F, A), ?snmp_msg(warning_msg, C, F, A)).
-define(snmp_error(C, F, A), ?snmp_msg(error_msg, C, F, A)).