cvs: php4 /ext/ccvs ccvs.c

From: Date: Mon, 17 Dec 2001 10:59:53 +0000
Subject: cvs: php4 /ext/ccvs ccvs.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8693@lists.php.net to get a copy of this message
hholzgra Mon Dec 17 05:59:53 2001 EDT Modified files: /php4/ext/ccvs ccvs.c Log: added proto descriptions Index: php4/ext/ccvs/ccvs.c diff -u php4/ext/ccvs/ccvs.c:1.22 php4/ext/ccvs/ccvs.c:1.23 --- php4/ext/ccvs/ccvs.c:1.22 Tue Dec 11 10:28:54 2001 +++ php4/ext/ccvs/ccvs.c Mon Dec 17 05:59:52 2001 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ /* -* cvvs.c $Revision: 1.22 $ - PHP4 Interface to the RedHat CCVS API +* cvvs.c $Revision: 1.23 $ - PHP4 Interface to the RedHat CCVS API * ------- * Interfaces RedHat's CCVS [Credit Card Verification System] <http://www.redhat.com/products/ccvs/> * This code is ported from an original php3 interface written by RedHat's Doug DeJulio <ddj@redhat.com> @@ -27,10 +27,10 @@ /* * Code started on 2000.07.24@09.04.EST by Brendan W. McAdams <bmcadams@php.net> -* $Revision: 1.22 $ +* $Revision: 1.23 $ */ -static char const cvsid[] = "$Id: ccvs.c,v 1.22 2001/12/11 15:28:54 sebastian Exp $"; +static char const cvsid[] = "$Id: ccvs.c,v 1.23 2001/12/17 10:59:52 hholzgra Exp $"; #include <php.h> #include <stdlib.h> @@ -113,7 +113,7 @@ /* Full Functions (The actual CCVS functions and any internal php hooked functions such as MINFO) */ /* {{{ proto string ccvs_init(string name) - ??? */ + Initialize CCVS for use */ PHP_FUNCTION(ccvs_init) /* cv_init() */ { zval **name; @@ -161,7 +161,7 @@ /* }}} */ /* {{{ proto string ccvs_done(string sess) - ??? */ + Terminate CCVS engine and do cleanup work */ PHP_FUNCTION(ccvs_done) /* cv_done() */ { zval **sess; @@ -183,7 +183,7 @@ /* }}} */ /* {{{ proto string ccvs_new(string session, string invoice) - ??? */ + Create a new, blank transaction */ PHP_FUNCTION(ccvs_new) /* cv_new() */ { zval **psess; @@ -215,7 +215,7 @@ /* }}} */ /* {{{ proto string ccvs_add(string session, string invoice, string argtype, string argval) - ??? */ + Add data to a transaction */ PHP_FUNCTION(ccvs_add) /* cv_add() */ { zval **psess; @@ -260,7 +260,7 @@ */ /* {{{ proto string ccvs_delete(string session, string invoice) - ??? */ + Delete a transaction */ PHP_FUNCTION(ccvs_delete) /* cv_delete() */ { zval **psess; @@ -286,7 +286,7 @@ /* }}} */ /* {{{ proto string ccvs_auth(string session, string invoice) - ??? */ + Perform credit authorization test on a transaction */ PHP_FUNCTION(ccvs_auth) /* cv_auth() */ { zval **psess; @@ -312,7 +312,7 @@ /* }}} */ /* {{{ proto string ccvs_return(string session, string invoice) - ??? */ + Transfer funds from the merchant to the credit card holder */ PHP_FUNCTION(ccvs_return) /* cv_return() */ { zval **psess; @@ -338,7 +338,7 @@ /* }}} */ /* {{{ proto string ccvs_reverse(string session, string invoice) - ??? */ + Perform a full reversal on an already-processed authorization */ PHP_FUNCTION(ccvs_reverse) /* cv_reverse() */ { zval **psess; @@ -364,7 +364,7 @@ /* }}} */ /* {{{ proto string ccvs_sale(string session, string invoice) - ??? */ + Transfer funds from the credit card holder to the merchant */ PHP_FUNCTION(ccvs_sale) /* cv_sale() */ { zval **psess; @@ -390,7 +390,7 @@ /* }}} */ /* {{{ proto string ccvs_void(string session, string invoice) - ??? */ + Perform a full reversal on a completed transaction */ PHP_FUNCTION(ccvs_void) /* cv_void() */ { zval **psess; @@ -416,7 +416,7 @@ /* }}} */ /* {{{ proto string ccvs_status(string session, string invoice) - ??? */ + Check the status of an invoice */ PHP_FUNCTION(ccvs_status) /* cv_status() */ { zval **psess; @@ -442,7 +442,7 @@ /* }}} */ /* {{{ proto int ccvs_count(string session, string type) - ??? */ + Find out how many transactions of a given type are stored in the system */ PHP_FUNCTION(ccvs_count) /* cv_count() */ { zval **psess; @@ -468,7 +468,7 @@ /* }}} */ /* {{{ proto string ccvs_lookup(string session, string invoice, int inum) - ??? */ + Look up an item of a particular type in the database */ PHP_FUNCTION(ccvs_lookup) /* cv_lookup() */ { zval **psess; @@ -498,7 +498,7 @@ /* }}} */ /* {{{ proto string ccvs_report(string session, string type) - ??? */ + Return the status of the background communication process */ PHP_FUNCTION(ccvs_report) /* cv_report() */ { zval **psess; @@ -525,7 +525,7 @@ /* }}} */ /* {{{ proto string ccvs_command(string session, string type, string argval) - ??? */ + Performs a command which is peculiar to a single protocol, and thus is not available in the general CCVS API */ PHP_FUNCTION(ccvs_command) /* cv_command() */ { zval **psess; @@ -555,7 +555,7 @@ /* }}} */ /* {{{ proto string ccvs_textvalue(string session) - ??? */ + Get text return value for previous function call */ PHP_FUNCTION(ccvs_textvalue) /* cv_textvalue() */ { zval **psess;

« previous php.cvs (#8693) next »