added import and export methods

additional checks
better errormessages
This commit is contained in:
Thilo Raufeisen 2005-10-15 14:42:56 +00:00
parent 665caa4026
commit 584b0947f5
2 changed files with 154 additions and 124 deletions

View file

@ -72,6 +72,7 @@ PHP_FUNCTION(gnupg_encryptsign);
PHP_FUNCTION(gnupg_decrypt);
PHP_FUNCTION(gnupg_decryptverify);
PHP_FUNCTION(gnupg_export);
PHP_FUNCTION(gnupg_import);
#ifdef ZTS
#define GNUPG_G(v) TSRMG(gnupg_globals_id, zend_gnupg_globals *, v)