Home GnuPG
Diffusion GPGME 885243e05467

Rework status table to be less dynamically generated.
885243e05467Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Rework status table to be less dynamically generated.

* src/Makefile.am (EXTRA_DIST): Remove mkstatus.
(BUILT_SOURCE, MOSTLYCLEANFILES): Remove.
(main_sources): Remove status-table.h, extra-stati.h.
Add status-table.c.
(status-table.h): Remove rules for built source.
* src/decrypt.c: Don't include extra-stati.h.
* src/engine-gpg.c: Don't include status-table.h.
(status_cmp): Remove function.
(read_status): Use _gpgme_parse_status.
* src/engine-gpgsm.c: Don't include status-table.h.
(status_cmp, parse_status): Remove function.
(gpgsm_assuan_simple_command, status_handler): Use _gpgme_parse_status.
* src/engine-uiserver.c: Don't include status-table.h.
(status_cmp, parse_status): Remove function.
(uiserver_assuan_simple_command, status_handler): Use
_gpgme_parse_status.
* src/gpgme.h.in (gpgme_status_code_t): Add
GPGME_STATUS_DECRYPTION_INFO.
* src/util.h (_gpgme_status_init,_gpgme_parse_status): New declaration.
* src/status-table.c: New file.
* src/extra-stati.h, src/mkstatus: Files removed.
* version.c (do_subsystem_inits): Call _gpgme_status_init.

Details

Provenance
marcusAuthored on Feb 14 2012, 1:03 PM
Parents
rMdae3073aaa8b: Use gpgme interface for error handling to avoid linking with gpg-error.
Branches
Unknown
Tags
Unknown

Event Timeline

Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> committed rM885243e05467: Rework status table to be less dynamically generated. (authored by Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>).Feb 14 2012, 1:34 PM