summaryrefslogtreecommitdiff
path: root/ext/mcve/php_mcve.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mcve/php_mcve.h')
-rw-r--r--ext/mcve/php_mcve.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/ext/mcve/php_mcve.h b/ext/mcve/php_mcve.h
index 5ea3d9f73..130ab3aa1 100644
--- a/ext/mcve/php_mcve.h
+++ b/ext/mcve/php_mcve.h
@@ -16,7 +16,7 @@
| Chris Faulhaber <jedgar@fxp.org> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_mcve.h,v 1.14 2004/05/30 22:41:13 bradmssw Exp $ */
+/* $Id: php_mcve.h,v 1.14.2.2 2005/07/18 20:11:09 bradmssw Exp $ */
#ifndef _PHP_MCVE_H
#define _PHP_MCVE_H
@@ -26,7 +26,13 @@ extern zend_module_entry mcve_module_entry;
#define mcve_module_ptr &mcve_module_entry
#define phpext_mcve_ptr mcve_module_ptr
-#define PHP_MCVE_VERSION "4.0"
+#define PHP_MCVE_VERSION "5.0"
+
+#include <mcve.h>
+
+#ifndef LIBMONETRA_VERSION
+#define LIBMONETRA_VERSION 040000
+#endif
#define MCVE_CONST (CONST_CS | CONST_PERSISTENT)
@@ -45,6 +51,10 @@ PHP_FUNCTION(m_destroyconn);
PHP_FUNCTION(m_setdropfile);
PHP_FUNCTION(m_setip);
PHP_FUNCTION(m_setssl);
+#if LIBMONETRA_VERSION >= 050000
+PHP_FUNCTION(m_setssl_cafile);
+PHP_FUNCTION(m_responsekeys);
+#endif
PHP_FUNCTION(m_setssl_files);
PHP_FUNCTION(m_setblocking);
PHP_FUNCTION(m_settimeout);
@@ -55,6 +65,10 @@ PHP_FUNCTION(m_connectionerror);
PHP_FUNCTION(m_deletetrans);
PHP_FUNCTION(m_connect);
PHP_FUNCTION(m_transnew);
+#if LIBMONETRA_VERSION >= 050000
+PHP_FUNCTION(m_transkeyval);
+PHP_FUNCTION(m_validateidentifier);
+#endif
PHP_FUNCTION(m_transparam);
PHP_FUNCTION(m_transsend);
PHP_FUNCTION(m_ping);