88f2c1c0d1
* src/gpgme.h.in (gpgme_set_ctx_flag): New prototype. * src/gpgme.c (gpgme_set_ctx_flag): New. * src/gpgme.def, src/libgpgme.vers: Add new function. * src/context.h (struct gpgme_context): Add FULL_STATUS. * src/decrypt.c (_gpgme_decrypt_status_handler): Do not call the status callback if FULL_STATUS is set. * src/genkey.c (genkey_status_handler): Ditto. * src/passphrase.c (_gpgme_passphrase_status_handler): Ditto. * src/sign.c (_gpgme_sign_status_handler): Ditto. * src/engine-backend.h (struct engine_ops): Add SET_STATUS_CB and add adjust all definitions of that variable. * src/engine.c (_gpgme_engine_set_status_cb): New. * src/op-support.c (_gpgme_op_reset): Call this function. * src/engine-gpg.c (struct engine_gpg): Add fields MON_CB and MON_CB_VALUE. (gpg_set_status_cb): New. (_gpgme_engine_ops_gpg): Register that function. (read_status): Call the monitor callback. * src/engine-gpgsm.c (struct engine_gpgsm): Add fields MON_CB and MON_CB_VALUE. (_gpgme_engine_ops_gpgsm): Register that function. (gpgsm_assuan_simple_command): Change first arg to be an engine context and adjust call callers. Call the monitor callback. * src/engine-uiserver.c (struct engine_uiserver): Add fields MON_CB and MON_CB_VALUE. (_gpgme_engine_ops_uiserver): Register that function. (uiserver_assuan_simple_command): Change first arg to be an engine context and adjust call callers. Call the monitor callback. * tests/run-verify.c (status_cb): New. (print_result): Print algo names. (main): Add option --status. -- This new feature is mainly intended for bug tracking. Having access to the raw status lines might also be useful for applications, though. Signed-off-by: Werner Koch <wk@gnupg.org>
237 lines
5.4 KiB
Plaintext
237 lines
5.4 KiB
Plaintext
# libgpgme.vers - List of symbols to export.
|
|
# Copyright (C) 2002, 2004, 2005, 2009, 2012 g10 Code GmbH
|
|
#
|
|
# This file is part of GPGME.
|
|
#
|
|
# GPGME is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU Lesser general Public License as
|
|
# published by the Free Software Foundation; either version 2.1 of
|
|
# the License, or (at your option) any later version.
|
|
#
|
|
# GPGME is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#-------------------------------------------------------
|
|
# Please remember to add new functions also to gpgme.def
|
|
#-------------------------------------------------------
|
|
|
|
GPGME_1.1 {
|
|
global:
|
|
gpgme_set_engine_info;
|
|
|
|
gpgme_ctx_get_engine_info;
|
|
gpgme_ctx_set_engine_info;
|
|
|
|
gpgme_data_set_file_name;
|
|
gpgme_data_get_file_name;
|
|
gpgme_data_identify;
|
|
|
|
gpgme_sig_notation_clear;
|
|
gpgme_sig_notation_add;
|
|
gpgme_sig_notation_get;
|
|
|
|
gpgme_free;
|
|
|
|
gpgme_op_getauditlog_start;
|
|
gpgme_op_getauditlog;
|
|
|
|
gpgme_conf_release;
|
|
gpgme_conf_arg_new;
|
|
gpgme_conf_arg_release;
|
|
gpgme_conf_opt_change;
|
|
gpgme_op_conf_load;
|
|
gpgme_op_conf_save;
|
|
|
|
gpgme_cancel_async;
|
|
|
|
gpgme_op_assuan_result;
|
|
gpgme_op_assuan_transact;
|
|
gpgme_op_assuan_transact_start;
|
|
|
|
gpgme_check_version_internal;
|
|
|
|
gpgme_io_read;
|
|
gpgme_io_write;
|
|
|
|
gpgme_result_ref;
|
|
gpgme_result_unref;
|
|
|
|
gpgme_op_import_keys;
|
|
gpgme_op_import_keys_start;
|
|
gpgme_op_export_keys;
|
|
gpgme_op_export_keys_start;
|
|
|
|
gpgme_op_assuan_transact_ext;
|
|
|
|
gpgme_wait_ext;
|
|
|
|
gpgme_op_vfs_mount_result;
|
|
gpgme_op_vfs_mount;
|
|
gpgme_op_vfs_create;
|
|
|
|
gpgme_key_from_uid;
|
|
gpgme_set_sub_protocol;
|
|
gpgme_get_sub_protocol;
|
|
|
|
gpgme_op_passwd_start;
|
|
gpgme_op_passwd;
|
|
|
|
gpgme_set_global_flag;
|
|
|
|
gpgme_io_writen;
|
|
|
|
gpgme_set_pinentry_mode;
|
|
gpgme_get_pinentry_mode;
|
|
|
|
gpgme_get_dirinfo;
|
|
|
|
gpgme_op_spawn_start;
|
|
gpgme_op_spawn;
|
|
|
|
gpgme_set_offline;
|
|
gpgme_get_offline;
|
|
|
|
gpgme_set_status_cb;
|
|
gpgme_get_status_cb;
|
|
|
|
gpgme_pubkey_algo_string;
|
|
gpgme_set_ctx_flag;
|
|
};
|
|
|
|
|
|
GPGME_1.0 {
|
|
global:
|
|
gpgme_check_version;
|
|
gpgme_get_engine_info;
|
|
gpgme_engine_check_version;
|
|
|
|
gpgme_err_code_from_errno;
|
|
gpgme_err_code_to_errno;
|
|
gpgme_err_make_from_errno;
|
|
gpgme_error_from_errno;
|
|
gpgme_strerror;
|
|
gpgme_strerror_r;
|
|
gpgme_strsource;
|
|
|
|
gpgme_data_get_encoding;
|
|
gpgme_data_new;
|
|
gpgme_data_new_from_cbs;
|
|
gpgme_data_new_from_fd;
|
|
gpgme_data_new_from_file;
|
|
gpgme_data_new_from_filepart;
|
|
gpgme_data_new_from_mem;
|
|
gpgme_data_new_from_stream;
|
|
gpgme_data_read;
|
|
gpgme_data_release;
|
|
gpgme_data_release_and_get_mem;
|
|
gpgme_data_seek;
|
|
gpgme_data_set_encoding;
|
|
gpgme_data_write;
|
|
|
|
gpgme_get_protocol_name;
|
|
gpgme_hash_algo_name;
|
|
gpgme_pubkey_algo_name;
|
|
|
|
gpgme_new;
|
|
gpgme_get_armor;
|
|
gpgme_get_include_certs;
|
|
gpgme_get_io_cbs;
|
|
gpgme_get_keylist_mode;
|
|
gpgme_get_passphrase_cb;
|
|
gpgme_get_progress_cb;
|
|
gpgme_get_protocol;
|
|
gpgme_get_textmode;
|
|
gpgme_release;
|
|
gpgme_set_armor;
|
|
gpgme_set_include_certs;
|
|
gpgme_set_io_cbs;
|
|
gpgme_set_keylist_mode;
|
|
gpgme_set_locale;
|
|
gpgme_set_passphrase_cb;
|
|
gpgme_set_progress_cb;
|
|
gpgme_set_protocol;
|
|
gpgme_set_textmode;
|
|
gpgme_signers_add;
|
|
gpgme_signers_clear;
|
|
gpgme_signers_count;
|
|
gpgme_signers_enum;
|
|
|
|
gpgme_key_ref;
|
|
gpgme_key_unref;
|
|
gpgme_key_release;
|
|
|
|
gpgme_trust_item_ref;
|
|
gpgme_trust_item_unref;
|
|
|
|
gpgme_cancel;
|
|
gpgme_op_card_edit;
|
|
gpgme_op_card_edit_start;
|
|
gpgme_op_decrypt;
|
|
gpgme_op_decrypt_result;
|
|
gpgme_op_decrypt_start;
|
|
gpgme_op_decrypt_verify;
|
|
gpgme_op_decrypt_verify_start;
|
|
gpgme_op_delete;
|
|
gpgme_op_delete_start;
|
|
gpgme_op_edit;
|
|
gpgme_op_edit_start;
|
|
gpgme_op_encrypt;
|
|
gpgme_op_encrypt_result;
|
|
gpgme_op_encrypt_sign;
|
|
gpgme_op_encrypt_sign_start;
|
|
gpgme_op_encrypt_start;
|
|
gpgme_op_export;
|
|
gpgme_op_export_ext;
|
|
gpgme_op_export_ext_start;
|
|
gpgme_op_export_start;
|
|
gpgme_op_genkey;
|
|
gpgme_op_genkey_result;
|
|
gpgme_op_genkey_start;
|
|
gpgme_get_key;
|
|
gpgme_op_import;
|
|
gpgme_op_import_result;
|
|
gpgme_op_import_start;
|
|
gpgme_op_keylist_end;
|
|
gpgme_op_keylist_ext_start;
|
|
gpgme_op_keylist_next;
|
|
gpgme_op_keylist_result;
|
|
gpgme_op_keylist_start;
|
|
gpgme_op_sign;
|
|
gpgme_op_sign_result;
|
|
gpgme_op_sign_start;
|
|
gpgme_op_trustlist_end;
|
|
gpgme_op_trustlist_next;
|
|
gpgme_op_trustlist_start;
|
|
gpgme_op_verify;
|
|
gpgme_op_verify_result;
|
|
gpgme_op_verify_start;
|
|
gpgme_wait;
|
|
|
|
gpgme_data_new_with_read_cb;
|
|
gpgme_data_rewind;
|
|
gpgme_get_sig_status;
|
|
gpgme_get_sig_string_attr;
|
|
gpgme_get_sig_ulong_attr;
|
|
gpgme_get_sig_key;
|
|
gpgme_key_get_string_attr;
|
|
gpgme_key_get_ulong_attr;
|
|
gpgme_key_sig_get_string_attr;
|
|
gpgme_key_sig_get_ulong_attr;
|
|
gpgme_op_import_ext;
|
|
gpgme_trust_item_get_int_attr;
|
|
gpgme_trust_item_get_string_attr;
|
|
gpgme_trust_item_release;
|
|
|
|
gpgme_err_code_from_syserror;
|
|
gpgme_err_set_errno;
|
|
|
|
local:
|
|
*;
|
|
|
|
};
|