summaryrefslogtreecommitdiff
path: root/ext/com/php_COM.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/com/php_COM.h')
-rw-r--r--ext/com/php_COM.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/ext/com/php_COM.h b/ext/com/php_COM.h
new file mode 100644
index 0000000000..64d9c16548
--- /dev/null
+++ b/ext/com/php_COM.h
@@ -0,0 +1,24 @@
+#ifndef _PHP_COM_H
+#define _PHP_COM_H
+
+#if WIN32|WINNT
+
+extern PHP_MINIT_FUNCTION(COM);
+extern PHP_MSHUTDOWN_FUNCTION(COM);
+PHP_FUNCTION(COM_load);
+PHP_FUNCTION(COM_invoke);
+
+PHP_FUNCTION(com_propget);
+PHP_FUNCTION(com_propput);
+extern zend_module_entry COM_module_entry;
+#define COM_module_ptr &COM_module_entry
+
+#else
+
+#define COM_module_ptr NULL
+
+#endif /* Win32|WINNT */
+
+#define phpext_COM_ptr COM_module_ptr
+
+#endif /* _PHP_COM_H */