net-snmp 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module Net
3
3
  module SNMP
4
4
  module MIB
5
5
  def self.init
6
- Wrapper.init_mib
6
+ Wrapper.netsnmp_init_mib
7
7
  end
8
8
 
9
9
  def self.read_all_mibs
@@ -22,7 +22,7 @@ module Net
22
22
  Wrapper.read_mib(filename)
23
23
  end
24
24
  def self.read_module(name)
25
- Wrapper.read_module(name)
25
+ Wrapper.netsnmp_read_module(name)
26
26
  end
27
27
 
28
28
  end
@@ -1,5 +1,5 @@
1
1
  module Net
2
2
  module SNMP
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
@@ -346,11 +346,11 @@ module Wrapper
346
346
 
347
347
 
348
348
  # MIB functions
349
- attach_function :init_mib, [], :void
349
+ attach_function :netsnmp_init_mib, [], :void
350
350
  attach_function :read_all_mibs, [], :void
351
351
  attach_function :add_mibdir, [:string], :int
352
352
  attach_function :read_mib, [:string], Tree.typed_pointer
353
- attach_function :read_module, [:string], Tree.typed_pointer
353
+ attach_function :netsnmp_read_module, [:string], Tree.typed_pointer
354
354
  attach_function :snmp_set_save_descriptions, [:int], :void
355
355
 
356
356
  attach_function :get_tree_head, [], Tree.typed_pointer
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 4
9
- version: 0.2.4
8
+ - 5
9
+ version: 0.2.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ron McClain
@@ -132,7 +132,7 @@ rdoc_options:
132
132
  - --main=README.rdoc
133
133
  - --line-numbers
134
134
  - --inline-source
135
- - --title=net-snmp-0.2.4 Documentation
135
+ - --title=net-snmp-0.2.5 Documentation
136
136
  require_paths:
137
137
  - lib
138
138
  required_ruby_version: !ruby/object:Gem::Requirement