jdonagher               Sat Jan 27 16:45:28 2001 EDT

  Modified files:              
    /php4/ext/pfpro     pfpro.c 
  Log:
  
  PR:
  Clean up and add folding
  
  
Index: php4/ext/pfpro/pfpro.c
diff -u php4/ext/pfpro/pfpro.c:1.7 php4/ext/pfpro/pfpro.c:1.8
--- php4/ext/pfpro/pfpro.c:1.7  Fri Dec 22 04:57:07 2000
+++ php4/ext/pfpro/pfpro.c      Sat Jan 27 16:45:27 2001
@@ -17,8 +17,9 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: pfpro.c,v 1.7 2000/12/22 12:57:07 zeev Exp $ */
+/* $Id: pfpro.c,v 1.8 2001/01/28 00:45:27 jdonagher Exp $ */
 
+/* {{{ includes */
 #include "php.h"
 #include "php_ini.h"
 #include "php_pfpro.h"
@@ -28,15 +29,17 @@
 #if HAVE_PFPRO
 
 #include "ext/standard/php_string.h"
+/* }}} */
 
+/* {{{ zts */
 #ifdef ZTS
 int pfpro_globals_id;
 #else
 php_pfpro_globals pfpro_globals;
 #endif
-
-/* Function table */
+/* }}} */
 
+/* {{{ Function table */
 function_entry pfpro_functions[] = {
        PHP_FE(pfpro_version, NULL)
        PHP_FE(pfpro_init, NULL)
@@ -45,7 +48,9 @@
        PHP_FE(pfpro_process, NULL)
        {NULL, NULL, NULL}
 };
+/* }}} */
 
+/* {{{ Zend module entry */
 zend_module_entry pfpro_module_entry = {
        "pfpro",
        pfpro_functions,
@@ -56,12 +61,15 @@
        PHP_MINFO(pfpro),
        STANDARD_MODULE_PROPERTIES
 };
+/* }}} */
 
+/* {{{ dl() stuff */
 #ifdef COMPILE_DL_PFPRO
 ZEND_GET_MODULE(pfpro)
 #endif
-
+/* }}} */
 
+/* {{{ initialization defaults */
 PHP_INI_BEGIN()
        STD_PHP_INI_ENTRY("pfpro.defaulthost",          "test.signio.com",      
PHP_INI_ALL, OnUpdateString,    defaulthost,                    php_pfpro_globals,     
 pfpro_globals)
        STD_PHP_INI_ENTRY("pfpro.defaultport",                  "443",                 
 PHP_INI_ALL, OnUpdateInt,               defaultport,                    
php_pfpro_globals,      pfpro_globals)
@@ -104,8 +112,9 @@
 
     return SUCCESS;
 }
-
+/* }}} */
 
+/* {{{ minfo registration */
 PHP_MINFO_FUNCTION(pfpro)
 {
        php_info_print_table_start();
@@ -115,8 +124,7 @@
 
        DISPLAY_INI_ENTRIES();
 }
-
-
+/* }}} */
 
 /* {{{ proto string pfpro_version()
    Returns the version of the Payflow Pro library */
@@ -130,8 +138,6 @@
 }
 /* }}} */
 
-
-
 /* {{{ proto void pfpro_init()
    Initialises the Payflow Pro library */
 PHP_FUNCTION(pfpro_init)
@@ -150,8 +156,6 @@
 }
 /* }}} */
 
-
-
 /* {{{ proto void pfpro_cleanup()
    Shuts down the Payflow Pro library */
 PHP_FUNCTION(pfpro_cleanup)
@@ -170,8 +174,6 @@
 }
 /* }}} */
 
-
-
 /* {{{ proto string pfpro_process_raw(string parmlist [, string hostaddress [, int 
port, [, int timeout [, string proxyAddress [, int proxyPort [, string proxyLogon [, 
string proxyPassword]]]]]]])
    Raw Payflow Pro transaction processing */
 PHP_FUNCTION(pfpro_process_raw)
@@ -289,8 +291,6 @@
        RETURN_STRING(response, 1);
 }
 /* }}} */
-
-
 
 /* {{{ proto array pfpro_process(array parmlist [, string hostaddress [, int port, [, 
int timeout [, string proxyAddress [, int proxyPort [, string proxyLogon [, string 
proxyPassword]]]]]]])
    Payflow Pro transaction processing using arrays */



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to