aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent/snmpa_mib_data.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2013-05-29 11:44:05 +0200
committerMicael Karlberg <[email protected]>2013-05-29 11:44:05 +0200
commita49f52da6e07f438686b66e71db8a4865f31af6c (patch)
tree31482d5813c4b23c68f7e94770578b99e39b34da /lib/snmp/src/agent/snmpa_mib_data.erl
parent0275959ca4db104e1749efe7beedfdadf204dfc4 (diff)
downloadotp-a49f52da6e07f438686b66e71db8a4865f31af6c.tar.gz
otp-a49f52da6e07f438686b66e71db8a4865f31af6c.tar.bz2
otp-a49f52da6e07f438686b66e71db8a4865f31af6c.zip
[snmp/agent] Moved agent config type definition to main agent interface module
Diffstat (limited to 'lib/snmp/src/agent/snmpa_mib_data.erl')
-rw-r--r--lib/snmp/src/agent/snmpa_mib_data.erl15
1 files changed, 1 insertions, 14 deletions
diff --git a/lib/snmp/src/agent/snmpa_mib_data.erl b/lib/snmp/src/agent/snmpa_mib_data.erl
index 368c714134..4d8a12b6c6 100644
--- a/lib/snmp/src/agent/snmpa_mib_data.erl
+++ b/lib/snmp/src/agent/snmpa_mib_data.erl
@@ -27,25 +27,12 @@
%% These types should really be defined elsewhere...
-export_type([
- mib_storage/0,
- mib_storage_opt/0,
- mib_storage_module/0,
- mib_storage_options/0,
mib_view/0,
mib_view_elem/0,
mib_view_mask/0,
mib_view_inclusion/0
]).
--type mib_storage() :: [mib_storage_opt()].
--type mib_storage_opt() :: {module, mib_storage_module()} |
- {options, mib_storage_options()}.
-
-%% Module implementing the snmpa_mib_storage behaviour
--type mib_storage_module() :: atom().
-%% Options specific to the above module
--type mib_storage_options() :: list().
-
-type mib_view() :: [mib_view_elem()].
-type mib_view_elem() :: {SubTree :: snmp:oid(),
Mask :: [non_neg_integer()],
@@ -56,7 +43,7 @@
-type filename() :: file:filename().
--callback new(MibStorage :: mib_storage()) -> State :: term().
+-callback new(MibStorage :: snmpa:mib_storage()) -> State :: term().
-callback close(State :: term()) -> ok.