diff options
author | Micael Karlberg <[email protected]> | 2013-04-28 20:25:09 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2013-04-28 20:25:09 +0200 |
commit | 39096a9e9183df34299914d0983b17815fdf2730 (patch) | |
tree | bc4f56cd187427715bed173a377a76be0c20bea1 /lib/snmp/src/agent/snmpa_mib_data.erl | |
parent | 8f929fad475601ee3cb164a26db3a9065fa7f909 (diff) | |
download | otp-39096a9e9183df34299914d0983b17815fdf2730.tar.gz otp-39096a9e9183df34299914d0983b17815fdf2730.tar.bz2 otp-39096a9e9183df34299914d0983b17815fdf2730.zip |
[snmp/agent] Some minor mib_data behaviour changes
Diffstat (limited to 'lib/snmp/src/agent/snmpa_mib_data.erl')
-rw-r--r-- | lib/snmp/src/agent/snmpa_mib_data.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/snmp/src/agent/snmpa_mib_data.erl b/lib/snmp/src/agent/snmpa_mib_data.erl index 2872ee2127..599cba4b5b 100644 --- a/lib/snmp/src/agent/snmpa_mib_data.erl +++ b/lib/snmp/src/agent/snmpa_mib_data.erl @@ -61,11 +61,9 @@ {ok, NewState :: term(), Pid :: pid()} | % When second arg was a oid() {error, Reason :: term()}. --callback dump(State :: term(), Filename :: string()) -> +-callback dump(State :: term(), Destination :: io | filename()) -> ok | {error, Reason :: term()}. --callback print(State :: term()) -> ok. - -callback which_mib(State :: term(), Oid :: oid()) -> {ok, Mib :: string()} | {error, Reason :: term()}. |