mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2026-02-04 13:21:34 +00:00
added procedural style
added PHP 4.3 support
This commit is contained in:
parent
e0c5fb1b1d
commit
2f0f17e6e7
6 changed files with 396 additions and 137 deletions
|
|
@ -41,6 +41,7 @@ typedef struct _gnupg_object{
|
|||
zval passphrase;
|
||||
gpgme_key_t encryptkey;
|
||||
gpgme_error_t err;
|
||||
char* errortxt;
|
||||
int signmode;
|
||||
} gnupg_object;
|
||||
|
||||
|
|
@ -73,6 +74,8 @@ PHP_FUNCTION(gnupg_decrypt);
|
|||
PHP_FUNCTION(gnupg_decryptverify);
|
||||
PHP_FUNCTION(gnupg_export);
|
||||
PHP_FUNCTION(gnupg_import);
|
||||
PHP_FUNCTION(gnupg_init);
|
||||
|
||||
|
||||
#ifdef ZTS
|
||||
#define GNUPG_G(v) TSRMG(gnupg_globals_id, zend_gnupg_globals *, v)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue