lib/net/snmp.rb in net-ldap-0.1.1 vs lib/net/snmp.rb in net-ldap-0.2
- old
+ new
@@ -1,37 +1,10 @@
-# $Id$
-#
-# NET::SNMP
-#
-#----------------------------------------------------------------------------
-#
-# Copyright (C) 2006-07 by Francis Cianfrocca. All Rights Reserved.
-#
-# Gmail: garbagecat10
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-#
-#---------------------------------------------------------------------------
-#
-#
-
+# -*- ruby encoding: utf-8 -*-
+# :stopdoc:
module Net
-
class SNMP
- VERSION = '0.1.0'
+ VERSION = '0.2'
AsnSyntax = Net::BER.compile_syntax({
:application => {
:primitive => {
1 => :integer, # Counter32, (RFC2578 sec 2)
@@ -290,6 +263,6 @@
end
private :pdu_to_ber_string
end
end
-
+# :startdoc: