summaryrefslogtreecommitdiff
path: root/ext/mcve/mcve.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mcve/mcve.c')
-rw-r--r--ext/mcve/mcve.c6
1 files changed, 6 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 */