cvs: pecl /iisfunc config.w32 iisfunc.cpp setup.c setup.h
| From: | Frank M. Kromann | Date: | Fri, 05 Dec 2003 07:40:44 +0000 |
| Subject: | cvs: pecl /iisfunc config.w32 iisfunc.cpp setup.c setup.h | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-556@lists.php.net to get a copy of this message | ||
fmk Fri Dec 5 02:40:44 2003 EDT
Added files:
/pecl/iisfunc config.w32
Modified files:
/pecl/iisfunc iisfunc.cpp setup.c setup.h
Log:
Include iisfunc in the new win32 build system
Change include ordr to allow using Microsoft Platform SDK header files
Index: pecl/iisfunc/iisfunc.cpp
diff -u pecl/iisfunc/iisfunc.cpp:1.17 pecl/iisfunc/iisfunc.cpp:1.18
--- pecl/iisfunc/iisfunc.cpp:1.17 Mon Jul 28 21:25:55 2003
+++ pecl/iisfunc/iisfunc.cpp Fri Dec 5 02:40:44 2003
@@ -15,7 +15,7 @@
| Authors: Frank M. Kromann <fmk@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: iisfunc.cpp,v 1.17 2003/07/29 01:25:55 fmk Exp $ */
+/* $Id: iisfunc.cpp,v 1.18 2003/12/05 07:40:44 fmk Exp $ */
/*
iisfunc.cpp : Defines the entry point for the DLL application.
*/
@@ -25,16 +25,16 @@
#define UNICODE
#define INITGUID
-#include <iostream>
#include <math.h>
-#include <iadmw.h> // COM Interface header
-#include <iiscnfg.h> // MD_ & IIS_MD_ #defines
extern "C" {
#include "php.h"
#include "setup.h"
}
+#include <iadmw.h> // COM Interface header
+#include <iiscnfg.h> // MD_ & IIS_MD_ #defines
+
void HandleErrorMessage() {
LPVOID lpMsgBuf;
FormatMessage(
Index: pecl/iisfunc/setup.c
diff -u pecl/iisfunc/setup.c:1.21 pecl/iisfunc/setup.c:1.22
--- pecl/iisfunc/setup.c:1.21 Mon Jul 28 04:53:48 2003
+++ pecl/iisfunc/setup.c Fri Dec 5 02:40:44 2003
@@ -15,7 +15,7 @@
| Authors: Frank M. Kromann <fmk@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: setup.c,v 1.21 2003/07/28 08:53:48 fmk Exp $ */
+/* $Id: setup.c,v 1.22 2003/12/05 07:40:44 fmk Exp $ */
#ifdef COMPILE_DL_IISFUNC
#define HAVE_IISFUNC 1
@@ -25,7 +25,6 @@
#include "php_globals.h"
#include "ext/standard/info.h"
-#include <windows.h>
#include <iadmw.h> // COM Interface header
#include <iiscnfg.h> // MD_ & IIS_MD_ #defines
@@ -113,6 +112,8 @@
STANDARD_MODULE_PROPERTIES
};
+ZEND_DECLARE_MODULE_GLOBALS(iisfunc);
+
#ifdef COMPILE_DL_IISFUNC
ZEND_GET_MODULE(iisfunc)
#endif
Index: pecl/iisfunc/setup.h
diff -u pecl/iisfunc/setup.h:1.12 pecl/iisfunc/setup.h:1.13
--- pecl/iisfunc/setup.h:1.12 Thu May 22 02:48:09 2003
+++ pecl/iisfunc/setup.h Fri Dec 5 02:40:44 2003
@@ -15,7 +15,7 @@
| Authors: Frank M. Kromann <fmk@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: setup.h,v 1.12 2003/05/22 06:48:09 fmk Exp $ */
+/* $Id: setup.h,v 1.13 2003/12/05 07:40:44 fmk Exp $ */
#ifndef PHP_IIS_SETUP_H
#define PHP_IIS_SETUP_H
@@ -76,4 +76,6 @@
#endif /* PHP_WIN32 */
+#define phpext_iisfunc_ptr iisfunc_module_ptr
+
#endif /* PHP_IIS_SETUP_H */
Index: pecl/iisfunc/config.w32
+++ pecl/iisfunc/config.w32
// $Id: config.w32,v 1.1 2003/12/05 07:40:44 fmk Exp $
// vim:ft=javascript
ARG_WITH("iisfunc", "IIS Function Support", "no");
if (PHP_IISFUNC == "yes") {
EXTENSION("iisfunc", "setup.c iisfunc.cpp");
AC_DEFINE('HAVE_IISFUNC', 1, 'Have IIS function support', false);
}