2010-01-07 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Thu, 7 Jan 2010 18:16:54 +0000 (18:16 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Thu, 7 Jan 2010 18:16:54 +0000 (18:16 +0000)
commit77d8ea8916bb415012f438c253876fa75c0b7864
tree0cf770e0bba66bdf81ca8cae958db0c59217070c
parent97c5d4d312dbb6d6f70d1d8ea88ab6a03f4e2f2a
2010-01-07  Marcus Brinkmann  <marcus@g10code.de>

* gpgme-tool.c (result_xml_write_cb_t, struct result_xml_state):
New types.
(MAX_TAGS): New macro.
(result_init, result_xml_indent, result_xml_tag_start)
(result_xml_tag_data, result_xml_tag_end, result_add_error)
(result_add_pubkey_algo, result_add_hash_algo, result_add_keyid)
(result_add_fpr, result_add_timestamp, result_add_sig_mode)
(result_add_value, result_add_string, result_encrypt_to_xml)
(result_decrypt_to_xml, result_sign_to_xml)
(result_verify_to_xml, result_import_to_xml)
(result_genkey_to_xml, result_keylist_to_xml)
(result_vfs_mount_to_xml): New functions.
(gt_result): Rewritten.
src/ChangeLog
src/gpgme-tool.c