gpgme/tests
Werner Koch ed1f2700a7
core: New function gpgme_op_interact, deprecate gpgme_op_edit.
* src/gpgme.h.in (gpgme_interact_cb_t): New.
(GPGME_INTERACT_CARD): New.
(gpgme_op_interact_start, gpgme_op_interact): New.
* src/libgpgme.vers, src/gpgme.def: Add new functions.
* src/edit.c (op_data_t): Rename fnc to fnc_old and change users.  Add
fnc.
(edit_status_handler): Call old or new callback.
(command_handler): Ditto.
(interact_start): New.
(gpgme_op_interact_start, gpgme_op_interact_start): New.
* src/status-table.c (_gpgme_status_to_string): New.

* tests/gpg/t-edit.c (edit_fnc): Rename to interact_fnc and change
type of STATUS.  Use gpgme_io_writen.
(main): s/gpgme_op_edit/gpgme_op_interact/.
--

This change will eventually allow us to remove all those status codes
from gpgme.h.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-09-15 11:39:43 +02:00
..
gpg core: New function gpgme_op_interact, deprecate gpgme_op_edit. 2016-09-15 11:39:43 +02:00
gpgsm tests: Mark lots of unused vars and fix const mismatches. 2016-09-13 20:48:06 +02:00
opassuan tests: Mark lots of unused vars and fix const mismatches. 2016-09-13 20:48:06 +02:00
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-02 11:36:37 +01:00
Makefile.am core: New function gpgme_op_tofu_policy 2016-09-14 20:21:19 +02:00
run-decrypt.c tests: Add new test tool run-decrypt 2016-06-24 11:33:05 +02:00
run-encrypt.c core: Make use of the "size-hint" in engine-gpg. 2016-08-12 15:32:31 +02:00
run-export.c Add an export secret key feature. 2015-08-24 12:41:24 +02:00
run-genkey.c core: New function gpgme_op_revuid. 2016-09-14 12:42:12 +02:00
run-identify.c tests: Add new test tool run-identify. 2016-06-21 16:18:00 +02:00
run-import.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
run-keylist.c core,cpp: Extend the TOFU information. 2016-09-07 09:26:11 +02:00
run-keysign.c core: New function gpgme_op_keysign. 2016-09-14 18:59:55 +02:00
run-sign.c tests: Mark lots of unused vars and fix const mismatches. 2016-09-13 20:48:06 +02:00
run-support.h tests: Use gpgme_io_write in passhrase callbacks. 2016-09-13 20:46:41 +02:00
run-tofu.c core: New function gpgme_op_tofu_policy 2016-09-14 20:21:19 +02:00
run-verify.c core,cpp: Extend the TOFU information. 2016-09-07 09:26:11 +02:00
start-stop-agent Fix test suite for GnuPG 2.1 which uses pubring.kbx. 2015-06-08 10:43:29 +02:00
t-data-1.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data-2.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data.c tests: Mark lots of unused vars and fix const mismatches. 2016-09-13 20:48:06 +02:00
t-engine-info.c core: Add new items for gpgme_get_dirinfo. 2016-08-22 16:57:51 +02:00
t-version.c Change the various version numbers to the new scheme. 2013-02-26 17:10:18 +01:00