summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad House <bradmssw@php.net>2005-07-19 00:34:39 +0000
committerBrad House <bradmssw@php.net>2005-07-19 00:34:39 +0000
commit96a273a10d05cceb2e9737f55245853fa2b8980f (patch)
tree24b8ea3911189cb09691a79161523ee12aef8527
parentdb138c59d4f9e8e5d719ac6744d2ed9645100b99 (diff)
downloadphp-git-96a273a10d05cceb2e9737f55245853fa2b8980f.tar.gz
\#if BRAD_0'd latest changes as requested until 5.1.0 release
-rw-r--r--ext/mcve/mcve.c6
-rw-r--r--ext/mcve/php_mcve.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/ext/mcve/mcve.c b/ext/mcve/mcve.c
index f3f8e8f8b9..c6ee1b089b 100644
--- a/ext/mcve/mcve.c
+++ b/ext/mcve/mcve.c
@@ -60,10 +60,12 @@ function_entry mcve_functions[] = {
PHP_FE(m_setdropfile, NULL)
PHP_FE(m_setip, NULL)
PHP_FE(m_setssl, NULL)
+#if BRAD_0
#if LIBMONETRA_VERSION >= 050000
PHP_FE(m_setssl_cafile, NULL)
PHP_FE(m_responsekeys, NULL)
#endif
+#endif
PHP_FE(m_setssl_files, NULL)
PHP_FE(m_settimeout, NULL)
PHP_FE(m_setblocking, NULL)
@@ -738,6 +740,7 @@ PHP_FUNCTION(m_setssl)
}
/* }}} */
+#if BRAD_0
#if LIBMONETRA_VERSION >= 050000
/* {{{ proto int m_setssl_cafile(resource conn, string cafile)
Set SSL CA (Certificate Authority) file for verification of server
@@ -762,6 +765,7 @@ PHP_FUNCTION(m_setssl_cafile)
}
/* }}} */
#endif
+#endif
/* {{{ proto int m_setssl_files(resource conn, string sslkeyfile, string sslcertfile)
Set certificate key files and certificates if server requires client certificate
@@ -1179,6 +1183,7 @@ PHP_FUNCTION(m_responseparam)
}
/* }}} */
+#if BRAD_0
#if LIBMONETRA_VERSION >= 050000
/* {{{ proto array m_responsekeys(resource conn, long identifier)
Returns array of strings which represents the keys that can be used
@@ -1208,6 +1213,7 @@ PHP_FUNCTION(m_responsekeys)
}
/* }}} */
#endif
+#endif
/* {{{ proto string m_getuserparam(resource conn, long identifier, int key)
Get a user response parameter */
diff --git a/ext/mcve/php_mcve.h b/ext/mcve/php_mcve.h
index dbce848425..15f1869e0c 100644
--- a/ext/mcve/php_mcve.h
+++ b/ext/mcve/php_mcve.h
@@ -51,10 +51,12 @@ PHP_FUNCTION(m_destroyconn);
PHP_FUNCTION(m_setdropfile);
PHP_FUNCTION(m_setip);
PHP_FUNCTION(m_setssl);
+#if BRAD_0
#if LIBMONETRA_VERSION >= 050000
PHP_FUNCTION(m_setssl_cafile);
PHP_FUNCTION(m_responsekeys);
#endif
+#endif
PHP_FUNCTION(m_setssl_files);
PHP_FUNCTION(m_setblocking);
PHP_FUNCTION(m_settimeout);