aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/compile/snmpc.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2010-11-30 18:36:39 +0100
committerMicael Karlberg <[email protected]>2010-11-30 18:36:39 +0100
commitbd7410308177659ad15c770d6d4700219bbe6978 (patch)
treef8a25fddb2ed84f7085fe8e345ca273de569e763 /lib/snmp/src/compile/snmpc.erl
parentc4f7618bc0275b5eb8787edb527714d16f512f44 (diff)
downloadotp-bd7410308177659ad15c770d6d4700219bbe6978.tar.gz
otp-bd7410308177659ad15c770d6d4700219bbe6978.tar.bz2
otp-bd7410308177659ad15c770d6d4700219bbe6978.zip
First version. No documentation and no testing.
Diffstat (limited to 'lib/snmp/src/compile/snmpc.erl')
-rw-r--r--lib/snmp/src/compile/snmpc.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/snmp/src/compile/snmpc.erl b/lib/snmp/src/compile/snmpc.erl
index a7f2cdc2bc..0f90d541e8 100644
--- a/lib/snmp/src/compile/snmpc.erl
+++ b/lib/snmp/src/compile/snmpc.erl
@@ -921,6 +921,12 @@ definitions_loop([{#mc_notification{name = TrapName,
snmpc_lib:add_cdata(#cdata.traps, [Notif]),
definitions_loop(T, Data);
+definitions_loop([{#mc_agent_capabilities{name = Name},Line}|T], Data) ->
+ ?vlog2("defloop -> agent_capabilities:"
+ "~n Name: ~p", [Name], Line),
+ ensure_macro_imported('AGENT-CAPABILITIES', Line),
+ definitions_loop(T, Data);
+
definitions_loop([{#mc_module_compliance{name = Name},Line}|T], Data) ->
?vlog2("defloop -> module_compliance:"
"~n Name: ~p", [Name], Line),