Skip to content

Commit 96a273a

Browse files
author
Brad House
committed
\#if BRAD_0'd latest changes as requested until 5.1.0 release
1 parent db138c5 commit 96a273a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

ext/mcve/mcve.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,11 @@ function_entry mcve_functions[] = {
6060
PHP_FE(m_setdropfile, NULL)
6161
PHP_FE(m_setip, NULL)
6262
PHP_FE(m_setssl, NULL)
63+
#if BRAD_0
6364
#if LIBMONETRA_VERSION >= 050000
6465
PHP_FE(m_setssl_cafile, NULL)
6566
PHP_FE(m_responsekeys, NULL)
67+
#endif
6668
#endif
6769
PHP_FE(m_setssl_files, NULL)
6870
PHP_FE(m_settimeout, NULL)
@@ -738,6 +740,7 @@ PHP_FUNCTION(m_setssl)
738740
}
739741
/* }}} */
740742

743+
#if BRAD_0
741744
#if LIBMONETRA_VERSION >= 050000
742745
/* {{{ proto int m_setssl_cafile(resource conn, string cafile)
743746
Set SSL CA (Certificate Authority) file for verification of server
@@ -762,6 +765,7 @@ PHP_FUNCTION(m_setssl_cafile)
762765
}
763766
/* }}} */
764767
#endif
768+
#endif
765769

766770
/* {{{ proto int m_setssl_files(resource conn, string sslkeyfile, string sslcertfile)
767771
Set certificate key files and certificates if server requires client certificate
@@ -1179,6 +1183,7 @@ PHP_FUNCTION(m_responseparam)
11791183
}
11801184
/* }}} */
11811185

1186+
#if BRAD_0
11821187
#if LIBMONETRA_VERSION >= 050000
11831188
/* {{{ proto array m_responsekeys(resource conn, long identifier)
11841189
Returns array of strings which represents the keys that can be used
@@ -1208,6 +1213,7 @@ PHP_FUNCTION(m_responsekeys)
12081213
}
12091214
/* }}} */
12101215
#endif
1216+
#endif
12111217

12121218
/* {{{ proto string m_getuserparam(resource conn, long identifier, int key)
12131219
Get a user response parameter */

ext/mcve/php_mcve.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,12 @@ PHP_FUNCTION(m_destroyconn);
5151
PHP_FUNCTION(m_setdropfile);
5252
PHP_FUNCTION(m_setip);
5353
PHP_FUNCTION(m_setssl);
54+
#if BRAD_0
5455
#if LIBMONETRA_VERSION >= 050000
5556
PHP_FUNCTION(m_setssl_cafile);
5657
PHP_FUNCTION(m_responsekeys);
5758
#endif
59+
#endif
5860
PHP_FUNCTION(m_setssl_files);
5961
PHP_FUNCTION(m_setblocking);
6062
PHP_FUNCTION(m_settimeout);

0 commit comments

Comments
 (0)