diff options
-rw-r--r-- | ext/mcve/mcve.c | 6 | ||||
-rw-r--r-- | ext/mcve/php_mcve.h | 2 |
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); |