aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2013-05-16 19:13:56 +0200
committerMicael Karlberg <[email protected]>2013-05-16 19:13:56 +0200
commit0a1028e1b2ee703417f1f45ba79cedce05be34c6 (patch)
tree2a8f383496aeea3478f674b029cf8b3092feefd5 /lib/snmp/src/agent
parent61ac3a2188af0f5d96ef9e1143845a12093acf4c (diff)
downloadotp-0a1028e1b2ee703417f1f45ba79cedce05be34c6.tar.gz
otp-0a1028e1b2ee703417f1f45ba79cedce05be34c6.tar.bz2
otp-0a1028e1b2ee703417f1f45ba79cedce05be34c6.zip
[snmp/agent] Added some description and the behaviour attribute
Diffstat (limited to 'lib/snmp/src/agent')
-rw-r--r--lib/snmp/src/agent/snmpa_mib_data_ttln.erl24
1 files changed, 14 insertions, 10 deletions
diff --git a/lib/snmp/src/agent/snmpa_mib_data_ttln.erl b/lib/snmp/src/agent/snmpa_mib_data_ttln.erl
index e20884c0a3..37dace5194 100644
--- a/lib/snmp/src/agent/snmpa_mib_data_ttln.erl
+++ b/lib/snmp/src/agent/snmpa_mib_data_ttln.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2009. All Rights Reserved.
+%% Copyright Ericsson AB 2013-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
@@ -16,9 +16,13 @@
%%
%% %CopyrightEnd%
%%
--module(snmpa_mib_data).
+
+-module(snmpa_mib_data_ttln).
%%%-----------------------------------------------------------------
+%%%
+%%% TTLN - TupleTreeListNodes
+%%%
%%% This module implements the MIB internal data structures.
%%% An MIB Data Structure consists of three items; an ets-table,
%%% a tree and a list of registered subagents.
@@ -34,16 +38,16 @@
-include("snmp_types.hrl").
-include("snmp_debug.hrl").
--define(VMODULE,"MDATA").
+-define(VMODULE,"MDATA_TTLN").
-include("snmp_verbosity.hrl").
--define(MIB_DATA,snmpa_mib_data).
--define(MIB_NODE,snmpa_mib_node).
--define(MIB_TREE,snmpa_mib_tree).
--define(DUMMY_TREE_GENERATION,1).
--define(DEFAULT_TREE,{tree,{undefined_node},internal}).
-%%-define(DUMMY_TREE_DB,dummy_tree_db).
-%%-define(DUMMY_TREE_DB_INIT,{?DUMMY_TREE_DB,?DEFAULT_TREE}).
+-behaviour(snmpa_mib_data).
+
+-define(MIB_DATA, snmpa_mib_data).
+-define(MIB_NODE, snmpa_mib_node).
+-define(MIB_TREE, snmpa_mib_tree).
+-define(DUMMY_TREE_GENERATION, 1).
+-define(DEFAULT_TREE, {tree,{undefined_node},internal}).
%%%-----------------------------------------------------------------