diff options
author | Micael Karlberg <[email protected]> | 2013-05-21 11:44:16 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2013-05-21 11:44:16 +0200 |
commit | aea7190a8eec464aecd8dbcbf0e7ebcf23583f5b (patch) | |
tree | 528cb4f8b2c801c87439665d0aee652d8ca50981 /lib/snmp/src/agent/snmpa.erl | |
parent | 2d71b25ef2f0edf15012a5f81210ce7f9fe507e8 (diff) | |
download | otp-aea7190a8eec464aecd8dbcbf0e7ebcf23583f5b.tar.gz otp-aea7190a8eec464aecd8dbcbf0e7ebcf23583f5b.tar.bz2 otp-aea7190a8eec464aecd8dbcbf0e7ebcf23583f5b.zip |
[snmp/agent] Fixed basic type issues
Defines some basic snmp types in the main snmp api module.
Also define some basic snmp agent types in the main snmp
agent api module.
Diffstat (limited to 'lib/snmp/src/agent/snmpa.erl')
-rw-r--r-- | lib/snmp/src/agent/snmpa.erl | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/lib/snmp/src/agent/snmpa.erl b/lib/snmp/src/agent/snmpa.erl index b45a47ec6b..785276c73d 100644 --- a/lib/snmp/src/agent/snmpa.erl +++ b/lib/snmp/src/agent/snmpa.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2004-2012. All Rights Reserved. +%% Copyright Ericsson AB 2004-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 @@ -111,13 +111,27 @@ -export([print_mib_info/0, print_mib_tables/0, print_mib_variables/0]). +-export_type([ + me/0 + ]). + + + -include("snmpa_atl.hrl"). -include("snmpa_internal.hrl"). +-include_lib("snmp/include/snmp_types.hrl"). % type of me needed. -define(DISCO_EXTRA_INFO, undefined). %%----------------------------------------------------------------- +%% Types +%%----------------------------------------------------------------- + +-type me() :: #me{}. + + +%%----------------------------------------------------------------- %% This utility function is used to convert an old SNMP application %% config (prior to snmp-4.0) to a SNMP agent config (as of %% snmp-4.0). |