Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r9 - trunk/php_svn_client.c

php-svn-client
Discussion topic

Back to topic list

svn commit: r9 - trunk/php_svn_client.c

Reply

Author fedortyurin
Full name Fedor Tyurin
Date 2007-01-16 03:37:55 PST
Message Author: fedortyurin
Date: 2007-01-16 03:37:55-0800
New Revision: 9

Modified:
   trunk/php_svn_client.c

Log:
Code structure a little bit improved

Modified: trunk/php_svn_client.c
Url: http://php-svn-clien​t.tigris.org/source/​browse/php-svn-clien​t/trunk/php_svn_clie​nt.c?view=diff&r​ev=9&p1=trunk/ph​p_svn_client.c&p​2=trunk/php_svn_clie​nt.c&r1=8&r2​=9
====================​====================​====================​==================
--- trunk/php_svn_client.c (original)
+++ trunk/php_svn_client.c 2007-01-16 03:37:55-0800
@@ -44,7 +44,6 @@
     {NULL, NULL, NULL}
 };
 
-#if 1
 zend_module_entry svn_client_module_entry = {
     STANDARD_MODULE_HEADER,
     "svn_client",
@@ -54,31 +53,13 @@
     NULL,
     NULL,
     PHP_MINFO(svn_client),
- NO_VERSION_YET,
+ "0.2",
     PHP_MODULE_GLOBALS(svn_client),
     PHP_GINIT(svn_client),
     NULL,
     NULL,
     STANDARD_MODULE_PROPERTIES_EX
 };
-#else
-zend_module_entry svn_client_module_entry = {
- STANDARD_MODULE_HEADER,
- "svn_client",
- svn_client_functions,
- PHP_MINIT(svn_client),
- PHP_MSHUTDOWN(svn_client),
- PHP_RINIT(svn_client),
- PHP_RSHUTDOWN(svn_client),
- PHP_MINFO(svn_client),
- "0.1",
- PHP_MODULE_GLOBALS(svn_client),
- PHP_GINIT(svn_client),
- NULL,
- NULL,
- STANDARD_MODULE_PROPERTIES_EX
-};
-#endif
 
 #ifdef COMPILE_DL_SVN_CLIENT
 ZEND_GET_MODULE(svn_client)
@@ -317,7 +298,8 @@
     
     php_info_print_table_start();
     php_info_print_table_row(2, "Subversion client", "Enabled");
- php_info_print_table_row(2, "SVN API Version", version);
+ php_info_print_table_row(2, "php_svn_client version", svn_client_module_en​try.version);
+ php_info_print_table_row(2, "svn version", version);
     php_info_print_table_end();
 }
 
@@ -792,6 +774,7 @@
                           &lb,
                           ctx,
                           subpool);
+
     if (err) {
         php_svn_client_handle_error(err TSRMLS_CC);
         svn_error_clear(err);

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r9 - trunk/php_svn_client.c fedortyurin Fedor Tyurin 2007-01-16 03:37:55 PST
Messages per page: