cvs: php4 /ext/iisfunc setup.c
| From: | Frank M. Kromann | Date: | Tue, 22 May 2001 18:27:11 +0000 |
| Subject: | cvs: php4 /ext/iisfunc setup.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5931@lists.php.net to get a copy of this message | ||
fmk Tue May 22 11:27:11 2001 EDT
Modified files:
/php4/ext/iisfunc setup.c
Log:
Fixing prototypes to match function names
TODO Rename functions to follow coding standards.
Index: php4/ext/iisfunc/setup.c
diff -u php4/ext/iisfunc/setup.c:1.3 php4/ext/iisfunc/setup.c:1.4
--- php4/ext/iisfunc/setup.c:1.3 Sun Feb 25 22:06:58 2001
+++ php4/ext/iisfunc/setup.c Tue May 22 11:27:10 2001
@@ -15,7 +15,7 @@
| Authors: Frank M. Kromann <fmk@swwwing.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: setup.c,v 1.3 2001/02/26 06:06:58 andi Exp $ */
+/* $Id: setup.c,v 1.4 2001/05/22 18:27:10 fmk Exp $ */
#ifdef COMPILE_DL_IISFUNC
#define HAVE_IISFUNC 1
@@ -98,7 +98,7 @@
php_info_print_table_end();
}
-/* {{{ proto int iis_GetServerByPath(string Path)
+/* {{{ proto int iis_getserverbypath(string Path)
Return the instance number associated with the Path*/
PHP_FUNCTION(iis_getserverbypath)
{
@@ -123,7 +123,7 @@
}
/* }}} */
-/* {{{ proto int iis_GetServerByComment(string Comment)
+/* {{{ proto int iis_getserverbycomment(string Comment)
Return the instance number associated with the Comment*/
PHP_FUNCTION(iis_getserverbycomment)
{
@@ -148,7 +148,7 @@
}
/* }}} */
-/* {{{ proto int iis_AddServer(string Path, string Comment, string ServerIP, int ServerPort, string
HostName, int ServerRights, int StartServer)
+/* {{{ proto int iis_addserver(string Path, string Comment, string ServerIP, int ServerPort, string
HostName, int ServerRights, int StartServer)
Creates a new virtual web server*/
PHP_FUNCTION(iis_addserver)
{
@@ -185,7 +185,7 @@
}
/* }}} */
-/* {{{ proto int iis_RemoveServer(int ServerInstance)
+/* {{{ proto int iis_removeserver(int ServerInstance)
Removes the virtual web server indicated by ServerInstance*/
PHP_FUNCTION(iis_removeserver)
{
@@ -209,7 +209,7 @@
}
/* }}} */
-/* {{{ proto int iis_SetDirectorySecurity(int ServerInstance, string VirtualPath, int
DirectoryFlags)
+/* {{{ proto int iis_setdirsecurity(int ServerInstance, string VirtualPath, int DirectoryFlags)
Sets Directory Security*/
PHP_FUNCTION(iis_setdirsecurity)
{
@@ -235,7 +235,7 @@
}
/* }}} */
-/* {{{ proto int iis_DirectorySecurity(int ServerInstance, string VirtualPath)
+/* {{{ proto int iis_getdirsecurity(int ServerInstance, string VirtualPath)
Gets Directory Security*/
PHP_FUNCTION(iis_getdirsecurity)
{
@@ -261,7 +261,7 @@
}
/* }}} */
-/* {{{ proto int iis_SetServerRights(int ServerInstance, string VirtualPath, int ServerFlags)
+/* {{{ proto int iis_setserverright(int ServerInstance, string VirtualPath, int ServerFlags)
Sets server rights*/
PHP_FUNCTION(iis_setserverright)
{
@@ -287,7 +287,7 @@
}
/* }}} */
-/* {{{ proto int iis_GetServerRights(int ServerInstance, string VirtualPath)
+/* {{{ proto int iis_getserverright(int ServerInstance, string VirtualPath)
Gets Directory Security*/
PHP_FUNCTION(iis_getserverright)
{
@@ -313,7 +313,7 @@
}
/* }}} */
-/* {{{ proto int iis_SetScriptMap(int ServerInstance, string VirtualPath, string EnginePath, int
AllowScripting)
+/* {{{ proto int iis_setscriptmap(int ServerInstance, string VirtualPath, string EnginePath, int
AllowScripting)
Sets script mapping on a virtual directory*/
PHP_FUNCTION(iis_setscriptmap)
{
@@ -344,7 +344,7 @@
}
/* }}} */
-/* {{{ proto int iis_GetScriptMap(int ServerInstance, string VirtualPath)
+/* {{{ proto int iis_setscriptmap(int ServerInstance, string VirtualPath)
Gets script mapping on a virtual directory for a specific extention*/
PHP_FUNCTION(iis_getscriptmap)
{
@@ -375,7 +375,7 @@
}
/* }}} */
-/* {{{ proto int iis_SetAppSetings(int ServerInstance, string VirtualPath, string Name)
+/* {{{ proto int iis_setappsettings(int ServerInstance, string VirtualPath, string Name)
Creates application scope for a virtual directory*/
PHP_FUNCTION(iis_setappsettings)
{
@@ -401,7 +401,7 @@
}
/* }}} */
-/* {{{ proto int iis_StartServer(int ServerInstance)
+/* {{{ proto int iis_startserver(int ServerInstance)
Starts the virtual web server*/
PHP_FUNCTION(iis_startserver)
{
@@ -426,7 +426,7 @@
}
/* }}} */
-/* {{{ proto int iis_StopServer(int ServerInstance)
+/* {{{ proto int iis_stopserver(int ServerInstance)
Stops the virtual web server*/
PHP_FUNCTION(iis_stopserver)
{
@@ -451,7 +451,7 @@
}
/* }}} */
-/* {{{ proto int iis_StopService(string ServiceId)
+/* {{{ proto int iis_stopservice(string ServiceId)
Stops the service defined by ServiceId*/
PHP_FUNCTION(iis_stopservice)
{
@@ -476,7 +476,7 @@
}
/* }}} */
-/* {{{ proto int iis_StartService(string ServiceId)
+/* {{{ proto int iis_stopservice(string ServiceId)
Starts the service defined by ServiceId*/
PHP_FUNCTION(iis_startservice)
{
@@ -501,7 +501,7 @@
}
/* }}} */
-/* {{{ proto int iis_GetServiceState(string ServiceId)
+/* {{{ proto int iis_getservicestate(string ServiceId)
Returns teh state for the service defined by ServiceId*/
PHP_FUNCTION(iis_getservicestate)
{