cvs: php4 /ext/isxfunc setup.c setup.h
| From: | Frank M. Kromann | Date: | Tue, 18 Dec 2001 01:18:01 +0000 |
| Subject: | cvs: php4 /ext/isxfunc setup.c setup.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8706@lists.php.net to get a copy of this message | ||
fmk Mon Dec 17 20:18:01 2001 EDT
Modified files:
/php4/ext/isxfunc setup.h setup.c
Log:
Fixing function names to match coding standards
Index: php4/ext/isxfunc/setup.h
diff -u php4/ext/isxfunc/setup.h:1.1 php4/ext/isxfunc/setup.h:1.2
--- php4/ext/isxfunc/setup.h:1.1 Mon Dec 17 18:59:16 2001
+++ php4/ext/isxfunc/setup.h Mon Dec 17 20:18:01 2001
@@ -1,4 +1,4 @@
-/* $Id: setup.h,v 1.1 2001/12/17 23:59:16 fmk Exp $ */
+/* $Id: setup.h,v 1.2 2001/12/18 01:18:01 fmk Exp $ */
#ifndef _ixs_setup_h
#define _ixs_setup_h
@@ -19,10 +19,10 @@
PHP_RSHUTDOWN_FUNCTION(ixsfunc);
PHP_MINFO_FUNCTION(ixsfunc);
-PHP_FUNCTION(ixscatalogexists);
-PHP_FUNCTION(ixscreatecatalog);
-PHP_FUNCTION(ixscreatescope);
-PHP_FUNCTION(ixsremovescope);
+PHP_FUNCTION(ixs_catalog_exists);
+PHP_FUNCTION(ixs_create_catalog);
+PHP_FUNCTION(ixs_create_scope);
+PHP_FUNCTION(ixs_remove_scope);
#ifdef ZTS
# define IXSFUNC_G(v) TSRMG(ixsfunc_globals_id, zend_ixsfunc_globals *, v)
Index: php4/ext/isxfunc/setup.c
diff -u php4/ext/isxfunc/setup.c:1.1 php4/ext/isxfunc/setup.c:1.2
--- php4/ext/isxfunc/setup.c:1.1 Mon Dec 17 18:59:16 2001
+++ php4/ext/isxfunc/setup.c Mon Dec 17 20:18:01 2001
@@ -15,7 +15,7 @@
| Authors: Frank M. Kromann <frank@kromann.info> |
+----------------------------------------------------------------------+
*/
-/* $Id: setup.c,v 1.1 2001/12/17 23:59:16 fmk Exp $ */
+/* $Id: setup.c,v 1.2 2001/12/18 01:18:01 fmk Exp $ */
/*
* Microsoft Index Server administration functions
@@ -32,10 +32,16 @@
function_entry ixsfunc_functions[] =
{
- PHP_FE(ixscatalogexists, NULL)
- PHP_FE(ixscreatecatalog, NULL)
- PHP_FE(ixscreatescope, NULL)
- PHP_FE(ixsremovescope, NULL)
+ PHP_FE(ixs_catalog_exists, NULL)
+ PHP_FE(ixs_create_catalog, NULL)
+ PHP_FE(ixs_create_scope, NULL)
+ PHP_FE(ixs_remove_scope, NULL)
+
+ PHP_FALIAS(ixscatalogexists, ixs_catalog_exists, NULL)
+ PHP_FALIAS(ixscreatecatalog, ixs_create_catalog, NULL)
+ PHP_FALIAS(ixscreatescope, ixs_create_scope, NULL)
+ PHP_FALIAS(ixsremovescope, ixs_remove_scope, NULL)
+
{NULL, NULL, NULL}
};
@@ -103,7 +109,7 @@
/*******************************************************************
Function:
- bool ixsCatalogExists($strCatalogName)
+ bool ixs_catalog_exists($strCatalogName)
Group:
IXS
Description:
@@ -116,7 +122,7 @@
See also:
*******************************************************************/
-PHP_FUNCTION(ixscatalogexists)
+PHP_FUNCTION(ixs_catalog_exists)
{
zval **strCatalogName;
int argc, rc;
@@ -143,7 +149,7 @@
/*******************************************************************
Function:
- long ixsCreateCatalog($strCatalogName, $strPath)
+ long ixs_create_catalog($strCatalogName, $strPath)
Group:
IXS
Description:
@@ -159,7 +165,7 @@
See also:
*******************************************************************/
-PHP_FUNCTION(ixscreatecatalog)
+PHP_FUNCTION(ixs_create_catalog)
{
zval **strCatalogName, **strPath;
int argc, rc;
@@ -185,7 +191,7 @@
/*******************************************************************
Function:
- long ixsCreateScope($strCatalogName, $strPath [, $strConnectAs])
+ long ixs_create_scope($strCatalogName, $strPath [, $strConnectAs])
Group:
IXS
Description:
@@ -202,7 +208,7 @@
See also:
*******************************************************************/
-PHP_FUNCTION(ixscreatescope)
+PHP_FUNCTION(ixs_create_scope)
{
zval **vCatalogName, **vPath, **vConnectAs;
int argc, rc;
@@ -235,7 +241,7 @@
/*******************************************************************
Function:
- long ixsRemoveScope($strCatalogName, $strPath)
+ long ixs_remove_scope($strCatalogName, $strPath)
Group:
IXS
Description:
@@ -251,7 +257,7 @@
See also:
*******************************************************************/
-PHP_FUNCTION(ixsremovescope)
+PHP_FUNCTION(ixs_remove_scope)
{
zval **strCatalogName, **strPath;
int argc, rc;