summaryrefslogtreecommitdiff
path: root/ext/mcve/php_mcve.h
diff options
context:
space:
mode:
authorBrad House <bradmssw@php.net>2004-05-30 22:41:24 +0000
committerBrad House <bradmssw@php.net>2004-05-30 22:41:24 +0000
commitcae0fd23f072cc8895d89b4ad190da3928b22027 (patch)
tree109b4e8b0060de91059cc5212b93ce558c0c737a /ext/mcve/php_mcve.h
parentfda04a0ed35ac72fbb85836401a376b10ada66b4 (diff)
downloadphp-git-cae0fd23f072cc8895d89b4ad190da3928b22027.tar.gz
Update the mcve module for libmonetra 4.0
A compatability layer has been introduced which should mean all scripts written for v 3.2 of the module should continue working, as well as compilation should still work against libmcve 3.2.x. This module eventually needs to be renamed to 'monetra' to reflect the naming change of the underlying library.
Diffstat (limited to 'ext/mcve/php_mcve.h')
-rw-r--r--ext/mcve/php_mcve.h87
1 files changed, 86 insertions, 1 deletions
diff --git a/ext/mcve/php_mcve.h b/ext/mcve/php_mcve.h
index 53dff960f2..4abe231779 100644
--- a/ext/mcve/php_mcve.h
+++ b/ext/mcve/php_mcve.h
@@ -26,13 +26,96 @@ 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 "3.2"
+#define PHP_MCVE_VERSION "4.0"
#define MCVE_CONST (CONST_CS | CONST_PERSISTENT)
+#define M_map_function(newname, oldname) \
+ PHP_FUNCTION(oldname) { \
+ PHP_FN(newname)(INTERNAL_FUNCTION_PARAM_PASSTHRU); \
+ }
+
PHP_MINIT_FUNCTION(mcve);
PHP_MINFO_FUNCTION(mcve);
+PHP_FUNCTION(m_initengine);
+PHP_FUNCTION(m_initconn);
+PHP_FUNCTION(m_deleteresponse);
+PHP_FUNCTION(m_destroyconn);
+PHP_FUNCTION(m_setdropfile);
+PHP_FUNCTION(m_setip);
+PHP_FUNCTION(m_setssl);
+PHP_FUNCTION(m_setssl_files);
+PHP_FUNCTION(m_setblocking);
+PHP_FUNCTION(m_settimeout);
+PHP_FUNCTION(m_verifyconnection);
+PHP_FUNCTION(m_verifysslcert);
+PHP_FUNCTION(m_maxconntimeout);
+PHP_FUNCTION(m_connectionerror);
+PHP_FUNCTION(m_deletetrans);
+PHP_FUNCTION(m_connect);
+PHP_FUNCTION(m_transnew);
+PHP_FUNCTION(m_transparam);
+PHP_FUNCTION(m_transsend);
+PHP_FUNCTION(m_ping);
+PHP_FUNCTION(m_responseparam);
+PHP_FUNCTION(m_returnstatus);
+PHP_FUNCTION(m_returncode);
+PHP_FUNCTION(m_transactionssent);
+PHP_FUNCTION(m_transactionitem);
+PHP_FUNCTION(m_transactionbatch);
+PHP_FUNCTION(m_transactionid);
+PHP_FUNCTION(m_transactionauth);
+PHP_FUNCTION(m_transactionavs);
+PHP_FUNCTION(m_transactioncv);
+PHP_FUNCTION(m_transactiontext);
+PHP_FUNCTION(m_getuserparam);
+PHP_FUNCTION(m_monitor);
+PHP_FUNCTION(m_transinqueue);
+PHP_FUNCTION(m_checkstatus);
+PHP_FUNCTION(m_completeauthorizations);
+PHP_FUNCTION(m_sale);
+PHP_FUNCTION(m_preauth);
+PHP_FUNCTION(m_override);
+PHP_FUNCTION(m_void);
+PHP_FUNCTION(m_preauthcompletion);
+PHP_FUNCTION(m_force);
+PHP_FUNCTION(m_return);
+PHP_FUNCTION(m_iscommadelimited);
+PHP_FUNCTION(m_parsecommadelimited);
+PHP_FUNCTION(m_getcommadelimited);
+PHP_FUNCTION(m_getcell);
+PHP_FUNCTION(m_getcellbynum);
+PHP_FUNCTION(m_numcolumns);
+PHP_FUNCTION(m_numrows);
+PHP_FUNCTION(m_getheader);
+PHP_FUNCTION(m_destroyengine);
+PHP_FUNCTION(m_settle);
+PHP_FUNCTION(m_qc);
+PHP_FUNCTION(m_gut);
+PHP_FUNCTION(m_gft);
+PHP_FUNCTION(m_ub);
+PHP_FUNCTION(m_gl);
+PHP_FUNCTION(m_chkpwd);
+PHP_FUNCTION(m_bt);
+PHP_FUNCTION(m_uwait);
+PHP_FUNCTION(m_text_code);
+PHP_FUNCTION(m_text_avs);
+PHP_FUNCTION(m_text_cv);
+PHP_FUNCTION(m_chngpwd);
+PHP_FUNCTION(m_listusers);
+PHP_FUNCTION(m_adduser);
+PHP_FUNCTION(m_enableuser);
+PHP_FUNCTION(m_disableuser);
+PHP_FUNCTION(m_getuserarg);
+PHP_FUNCTION(m_adduserarg);
+PHP_FUNCTION(m_deleteusersetup);
+PHP_FUNCTION(m_initusersetup);
+PHP_FUNCTION(m_deluser);
+PHP_FUNCTION(m_edituser);
+PHP_FUNCTION(m_liststats);
+
+/* prototypes for compatability functions */
PHP_FUNCTION(mcve_initengine);
PHP_FUNCTION(mcve_initconn);
PHP_FUNCTION(mcve_deleteresponse);
@@ -109,6 +192,8 @@ PHP_FUNCTION(mcve_initusersetup);
PHP_FUNCTION(mcve_deluser);
PHP_FUNCTION(mcve_edituser);
PHP_FUNCTION(mcve_liststats);
+
+
#endif /* _PHP_MCVE_H */
/*