sniper          Fri Feb 21 05:42:02 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /php4/ext/snmp      php_snmp.h snmp.c 
  Log:
  fixed headers and cleaned up a bit
  
Index: php4/ext/snmp/php_snmp.h
diff -u php4/ext/snmp/php_snmp.h:1.14.2.2 php4/ext/snmp/php_snmp.h:1.14.2.3
--- php4/ext/snmp/php_snmp.h:1.14.2.2   Tue Dec 31 11:35:21 2002
+++ php4/ext/snmp/php_snmp.h    Fri Feb 21 05:42:01 2003
@@ -1,29 +1,31 @@
 /*
-+----------------------------------------------------------------------+
-| PHP Version 4                                                        |
-+----------------------------------------------------------------------+
-| Copyright (c) 1997-2003 The PHP Group                                |
-+----------------------------------------------------------------------+
-| This source file is subject to version 2.02 of the PHP license,      |
-| that is bundled with this package in the file LICENSE, and is        |
-| available at through the world-wide-web at                           |
-| http://www.php.net/license/2_02.txt.                                 |
-| If you did not receive a copy of the PHP license and are unable to   |
-| obtain it through the world-wide-web, please send a note to          |
-| [EMAIL PROTECTED] so we can mail you a copy immediately.               |
-+----------------------------------------------------------------------+
-| Authors: Rasmus Lerdorf <[EMAIL PROTECTED]>                             |
-|          Mike Jackson <[EMAIL PROTECTED]>                            |
-|          Steven Lawrance <[EMAIL PROTECTED]>                |
-|          Harrie Hazewinkel <[EMAIL PROTECTED]>                      |
-+----------------------------------------------------------------------+
+  +----------------------------------------------------------------------+
+  | PHP Version 4                                                        |
+  +----------------------------------------------------------------------+
+  | Copyright (c) 1997-2003 The PHP Group                                |
+  +----------------------------------------------------------------------+
+  | This source file is subject to version 2.02 of the PHP license,      |
+  | that is bundled with this package in the file LICENSE, and is        |
+  | available at through the world-wide-web at                           |
+  | http://www.php.net/license/2_02.txt.                                 |
+  | If you did not receive a copy of the PHP license and are unable to   |
+  | obtain it through the world-wide-web, please send a note to          |
+  | [EMAIL PROTECTED] so we can mail you a copy immediately.               |
+  +----------------------------------------------------------------------+
+  | Authors: Rasmus Lerdorf <[EMAIL PROTECTED]>                             |
+  |          Mike Jackson <[EMAIL PROTECTED]>                            |
+  |          Steven Lawrance <[EMAIL PROTECTED]>                |
+  |          Harrie Hazewinkel <[EMAIL PROTECTED]>                      |
+  +----------------------------------------------------------------------+
 */
 
-/* $Id: php_snmp.h,v 1.14.2.2 2002/12/31 16:35:21 sebastian Exp $ */
+/* $Id: php_snmp.h,v 1.14.2.3 2003/02/21 10:42:01 sniper Exp $ */
+
 #ifndef PHP_SNMP_H
 #define PHP_SNMP_H
 
 #if HAVE_SNMP
+
 #ifndef DLEXPORT
 #define DLEXPORT
 #endif
@@ -32,6 +34,8 @@
 #define snmp_module_ptr &snmp_module_entry
 
 PHP_MINIT_FUNCTION(snmp);
+PHP_MINFO_FUNCTION(snmp);
+
 PHP_FUNCTION(snmpget);
 PHP_FUNCTION(snmpwalk);
 PHP_FUNCTION(snmprealwalk);
@@ -45,8 +49,7 @@
 PHP_FUNCTION(snmp3_walk);
 PHP_FUNCTION(snmp3_real_walk);
 PHP_FUNCTION(snmp3_set);
-//PHP_FUNCTION(snmp3_getbulk);
-PHP_MINFO_FUNCTION(snmp);
+
 #else
 
 #define snmp_module_ptr NULL
Index: php4/ext/snmp/snmp.c
diff -u php4/ext/snmp/snmp.c:1.70.2.4 php4/ext/snmp/snmp.c:1.70.2.5
--- php4/ext/snmp/snmp.c:1.70.2.4       Fri Jan 24 04:53:16 2003
+++ php4/ext/snmp/snmp.c        Fri Feb 21 05:42:01 2003
@@ -1,24 +1,25 @@
 /*
-+----------------------------------------------------------------------+
-| PHP Version 4                                                        |
-+----------------------------------------------------------------------+
-| Copyright (c) 1997-2003 The PHP Group                                |
-+----------------------------------------------------------------------+
-| This source file is subject to version 2.02 of the PHP license,      |
-| that is bundled with this package in the file LICENSE, and is        |
-| available at through the world-wide-web at                           |
-| http://www.php.net/license/2_02.txt.                                 |
-| If you did not receive a copy of the PHP license and are unable to   |
-| obtain it through the world-wide-web, please send a note to          |
-| [EMAIL PROTECTED] so we can mail you a copy immediately.               |
-+----------------------------------------------------------------------+
-| Authors: Rasmus Lerdorf <[EMAIL PROTECTED]>                             |
-|          Mike Jackson <[EMAIL PROTECTED]>                            |
-|          Steven Lawrance <[EMAIL PROTECTED]>                |
-|          Harrie Hazewinkel <[EMAIL PROTECTED]>                      |
-+----------------------------------------------------------------------+
+  +----------------------------------------------------------------------+
+  | PHP Version 4                                                        |
+  +----------------------------------------------------------------------+
+  | Copyright (c) 1997-2003 The PHP Group                                |
+  +----------------------------------------------------------------------+
+  | This source file is subject to version 2.02 of the PHP license,      |
+  | that is bundled with this package in the file LICENSE, and is        |
+  | available at through the world-wide-web at                           |
+  | http://www.php.net/license/2_02.txt.                                 |
+  | If you did not receive a copy of the PHP license and are unable to   |
+  | obtain it through the world-wide-web, please send a note to          |
+  | [EMAIL PROTECTED] so we can mail you a copy immediately.               |
+  +----------------------------------------------------------------------+
+  | Authors: Rasmus Lerdorf <[EMAIL PROTECTED]>                             |
+  |          Mike Jackson <[EMAIL PROTECTED]>                            |
+  |          Steven Lawrance <[EMAIL PROTECTED]>                |
+  |          Harrie Hazewinkel <[EMAIL PROTECTED]>                      |
+  +----------------------------------------------------------------------+
 */
-/* $Id: snmp.c,v 1.70.2.4 2003/01/24 09:53:16 sniper Exp $ */
+
+/* $Id: snmp.c,v 1.70.2.5 2003/02/21 10:42:01 sniper Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to