cvs: pear /PECL/spplus php_spplus.c
| From: | CHAILLAN Nicolas | Date: | Fri, 08 Nov 2002 14:33:00 +0000 |
| Subject: | cvs: pear /PECL/spplus php_spplus.c | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7318@lists.php.net to get a copy of this message | ||
nicos Fri Nov 8 09:33:00 2002 EDT
Modified files:
/pear/PECL/spplus php_spplus.c
Log:
Fixing some things, thanks Derick
Index: pear/PECL/spplus/php_spplus.c
diff -u pear/PECL/spplus/php_spplus.c:1.1 pear/PECL/spplus/php_spplus.c:1.2
--- pear/PECL/spplus/php_spplus.c:1.1 Thu Nov 7 18:33:52 2002
+++ pear/PECL/spplus/php_spplus.c Fri Nov 8 09:32:59 2002
@@ -13,8 +13,6 @@
*/
ZEND_MINFO_FUNCTION(spplus);
-ZEND_MINIT_FUNCTION(spplus);
-ZEND_MSHUTDOWN_FUNCTION(spplus);
ZEND_FUNCTION(calcul_hmac);
ZEND_FUNCTION(nthmac);
ZEND_FUNCTION(signeurlpaiement);
@@ -35,8 +33,8 @@
STANDARD_MODULE_HEADER,
"spplus",
spplus_functions,
- ZEND_MINIT(spplus),
- ZEND_MSHUTDOWN(spplus),
+ NULL,
+ NULL,
NULL,
NULL,
ZEND_MINFO(spplus),
@@ -60,23 +58,8 @@
}
/* }}} */
-/* {{{ ZEND_MINIT_FUNCTION
- */
-ZEND_MINIT_FUNCTION(spplus)
-{
- return SUCCESS;
-}
-/* }}} */
-
-/* {{{ ZEND_MSHUTDOWN_FUNCTION
- */
-ZEND_MSHUTDOWN_FUNCTION(spplus)
-{
- return SUCCESS;
-}
-/* }}} */
-
-/* {{{ proto char *calcul_hmac(string clent , string codesiret , string montant , string reference
, string validite , string taxe , string devise , string langue)
+/* {{{ proto string calcul_hmac(string clent , string codesiret , string montant , string
+reference , string validite , string taxe , string devise , string langue)
Getting a calcul_hmac key. */
ZEND_FUNCTION(calcul_hmac)
{
@@ -94,7 +77,7 @@
}
/* }}} */
-/* {{{ proto char *nthmac(string clent , string data)
+/* {{{ proto string nthmac(string clent , string data)
Getting a nthmac key.
Note that data is:
$data = "$codesiret$reference$langue$devise$montant$taxe$validite";
@@ -115,7 +98,7 @@
}
/* }}} */
-/* {{{ proto char *signerurlpaiement(string clent , string data)
+/* {{{ proto string signerurlpaiement(string clent , string data)
Getting a url for the paiement redirection.
Note that data is:
$data = "$codesiret$reference$langue$devise$montant$taxe$validite";
@@ -136,7 +119,7 @@
}
/* }}} */
-/* {{{ proto char *calculhmac(string clent , string data)
+/* {{{ proto string calculhmac(string clent , string data)
Getting a calculhmac key.
Note that data is:
$data = "$codesiret$reference$langue$devise$montant$taxe$validite";