2003-05-18 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Sun, 18 May 2003 20:45:24 +0000 (20:45 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Sun, 18 May 2003 20:45:24 +0000 (20:45 +0000)
commit16dd11f481f96f2b476d018cec384b542dc16d2b
tree3e7c35a18cdd12abf901fd1913c2b4ad5e6bf191
parenta8017b42fdaa6443e89337f454577638ae634ad6
2003-05-18  Marcus Brinkmann  <marcus@g10code.de>

In all files, replace the Gpgme* type names with the new gpgme_*
type names.

doc/
2003-05-18  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Header): Remove Gpgme as namespace prefix.  Add
_GPGME to namespace prefix.
* gpgme.texi (Multi Threading): Add note about link order.

gpgme/
2003-05-18  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.h: The following types are renamed.  The old name is kept
as a deprecated typedef.
(GpgmeCtx): Rename to gpgme_ctx_t.
(GpgmeData): Rename to gpgme_data_t.
(GpgmeRecipients): Rename to gpgme_recipients_t.
(GpgmeError): Rename to gpgme_error_t.
(GpgmeDataEncoding): Rename to gpgme_data_encoding_t.
(GpgmePubKeyAlgo): Rename to gpgme_pubkey_algo_t.
(GpgmeHashAlgo): Rename to gpgme_hash_algo_t.
(GpgmeSigStat): Rename to gpgme_sig_stat_t.
(GpgmeSigMode): Rename to gpgme_sig_mode_t.
(GpgmeAttr): Rename to gpgme_attr_t.
(GpgmeValidity): Rename to gpgme_validity_t.
(GpgmeProtocol): Rename to gpgme_protocol_t.
(GpgmeStatusCode): Rename to gpgme_status_code_t.
(GpgmeEngineInfo): Rename to gpgme_engine_info_t.
(GpgmeSubkey): Rename to gpgme_subkey_t.
(GpgmeKeySig): Rename to gpgme_keysig_t.
(GpgmeUserID): Rename to gpgme_user_id_t.
(GpgmePassphraseCb): Rename to gpgme_passphrase_cb_t.
(GpgmeProgressCb): Rename to gpgme_progress_cb_t.
(GpgmeEditCb): Rename to gpgme_edit_cb_t.
(GpgmeIOCb): Rename to gpgme_io_cb_t.
(GpgmeRegisterIOCb): Rename to gpgme_register_io_cb_t.
(GpgmeRemoveIOCb): Rename to gpgme_remove_io_cb_t.
(GpgmeEventIO): Rename to gpgme_event_io_t.
(GpgmeEventIOCb): Rename to gpgme_event_io_cb_t.
(GpgmeIOCbs): Rename to gpgme_io_cbs.
(gpgme_io_cbs_t): New type.
(GpgmeDataReadCb): Rename to gpgme_data_read_cb_t.
(GpgmeDataWriteCb): Rename to gpgme_data_write_cb_t.
(GpgmeDataSeekCb): Rename to gpgme_data_seek_cb_t.
(GpgmeDataReleaseCb): Rename to gpgme_data_release_cb_t.
(GpgmeDataCbs): Rename to gpgme_data_cbs.
(gpgme_data_cbs_t): New type.
(GpgmeInvalidUserID): Rename to gpgme_invalid_user_id_t.
(GpgmeEncryptResult): Rename to gpgme_encrypt_result_t.
(GpgmeDecryptResult): Rename to gpgme_decrypt_result_t.
(GpgmeNewSignature): Rename to gpgme_new_signature_t.
(GpgmeSignResult): Rename to gpgme_sign_result_t.
(GpgmeSigNotation): Rename to gpgme_sig_notation_t.
(GpgmeSignature): Rename to gpgme_signature_t.
(GpgmeVerifyResult): Rename to gpgme_verify_result_t.
(GpgmeImportStatus): Rename to gpgme_import_status_t.
(GpgmeImportResult): Rename to gpgme_import_result_t.
(GpgmeGenKeyResult): Rename to gpgme_genkey_result_t.
(GpgmeKeyListResult): Rename to gpgme_keylist_result_t.
(GpgmeTrustItem): Rename to gpgme_trust_item_t.
* gpgme.h (gpgme_deprecated_error_t): New type, swallowing macros
GPGME_No_Recipients, GPGME_Invalid_Recipient and
GPGME_No_Passphrase.
* data.h (struct gpgme_data_s): Rename to struct gpgme_data.
* context.h (struct gpgme_context_s): Rename to struct
gpgme_context.
(struct gpgme_recipients_s): Rename to gpgme_recipients.
78 files changed:
trunk/ChangeLog
trunk/NEWS
trunk/TODO
trunk/doc/ChangeLog
trunk/doc/gpgme.texi
trunk/gpgme/ChangeLog
trunk/gpgme/context.h
trunk/gpgme/conversion.c
trunk/gpgme/data-compat.c
trunk/gpgme/data-fd.c
trunk/gpgme/data-mem.c
trunk/gpgme/data-stream.c
trunk/gpgme/data-user.c
trunk/gpgme/data.c
trunk/gpgme/data.h
trunk/gpgme/decrypt-verify.c
trunk/gpgme/decrypt.c
trunk/gpgme/delete.c
trunk/gpgme/edit.c
trunk/gpgme/encrypt-sign.c
trunk/gpgme/encrypt.c
trunk/gpgme/engine-backend.h
trunk/gpgme/engine-gpgsm.c
trunk/gpgme/engine.c
trunk/gpgme/engine.h
trunk/gpgme/export.c
trunk/gpgme/genkey.c
trunk/gpgme/gpgme.c
trunk/gpgme/gpgme.h
trunk/gpgme/import.c
trunk/gpgme/key.c
trunk/gpgme/keylist.c
trunk/gpgme/mkerrors
trunk/gpgme/mkstatus
trunk/gpgme/op-support.c
trunk/gpgme/ops.h
trunk/gpgme/passphrase.c
trunk/gpgme/progress.c
trunk/gpgme/recipient.c
trunk/gpgme/rungpg.c
trunk/gpgme/sign.c
trunk/gpgme/signers.c
trunk/gpgme/trust-item.c
trunk/gpgme/trustlist.c
trunk/gpgme/util.h
trunk/gpgme/verify.c
trunk/gpgme/wait-global.c
trunk/gpgme/wait-private.c
trunk/gpgme/wait-user.c
trunk/gpgme/wait.c
trunk/gpgme/wait.h
trunk/tests/gpg/t-decrypt-verify.c
trunk/tests/gpg/t-decrypt.c
trunk/tests/gpg/t-edit.c
trunk/tests/gpg/t-encrypt-sign.c
trunk/tests/gpg/t-encrypt-sym.c
trunk/tests/gpg/t-encrypt.c
trunk/tests/gpg/t-eventloop.c
trunk/tests/gpg/t-export.c
trunk/tests/gpg/t-genkey.c
trunk/tests/gpg/t-import.c
trunk/tests/gpg/t-keylist-sig.c
trunk/tests/gpg/t-keylist.c
trunk/tests/gpg/t-sign.c
trunk/tests/gpg/t-signers.c
trunk/tests/gpg/t-trustlist.c
trunk/tests/gpg/t-verify.c
trunk/tests/gpgsm/t-decrypt.c
trunk/tests/gpgsm/t-encrypt.c
trunk/tests/gpgsm/t-export.c
trunk/tests/gpgsm/t-genkey.c
trunk/tests/gpgsm/t-import.c
trunk/tests/gpgsm/t-keylist.c
trunk/tests/gpgsm/t-sign.c
trunk/tests/gpgsm/t-verify.c
trunk/tests/t-data.c
trunk/tests/t-engine-info.c
trunk/tests/t-version.c