2002-12-23 23:47:27 +00:00
|
|
|
# libgpgme.vers - List of symbols to export.
|
2009-01-26 10:21:10 +00:00
|
|
|
# Copyright (C) 2002, 2004, 2005, 2009 g10 Code GmbH
|
2002-12-23 23:47:27 +00:00
|
|
|
#
|
|
|
|
# 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
|
2009-01-26 10:21:10 +00:00
|
|
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
2002-12-23 23:47:27 +00:00
|
|
|
|
2005-08-19 16:11:46 +00:00
|
|
|
#-------------------------------------------------------
|
|
|
|
# Please remember to add new functions also to gpgme.def
|
|
|
|
#-------------------------------------------------------
|
2002-12-23 23:47:27 +00:00
|
|
|
|
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* libgpgme.vers (GPGME_1.1): New version.
* engine-backend.h (struct engine_ops): Add argument FILE_NAME to
member get_version(). Add arguments FILE_NAME and HOME_DIR to
member new(). Change return type of get_file_name and get_version
to char *.
* engine-gpgsm.c (gpgsm_get_version): Change return type to char
pointer. Do not cache result.
(gpgsm_new): Add file_name and home_dir argument, and use them
instead of the defaults, if set.
* rungpg.c (struct engine_gpg): New member file_name.
(gpg_get_version): Change return type to char pointer, and do not
cache result.
(gpg_release): Free gpg->file_name.
(gpg_new): Take new arguments file_name and home_dir. Set the
--homedir argument if HOME_DIR is not NULL. Set gpg->file_name.
(start): Use gpg->file_name instead _gpgme_get_gpg_path, if set.
* engine.h (_gpgme_engine_info_copy, _gpgme_engine_info_release):
New prototypes.
(_gpgme_engine_new): Change first argument to gpgme_engine_info_t
info.
* engine.c: Include <assert.h>.
(gpgme_get_engine_info): Set *INFO within the lock. Move
ENGINE_INFO and ENGINE_INFO_LOCK to ....
(engine_info, engine_info_lock): ... here. New static variables.
(engine_get_version): Add file_name argument to
get_version invocation. Change return type to char pointer.
(gpgme_engine_check_version): Rewritten to free() the return value
of engine_get_version after using it.
(_gpgme_engine_info_release): New function.
(gpgme_get_engine_info): Rewritten.
(_gpgme_engine_info_copy): New function.
(_gpgme_set_engine_info): New function.
(gpgme_set_engine_info): New function.
(_gpgme_engine_new): Change first argument to gpgme_engine_info_t
info, and use that.
* gpgme.h (struct _gpgme_engine_info): Change type of file_name
and version to char * (remove the const). New member home_dir.
(gpgme_set_engine_info, gpgme_ctx_get_engine_info,
gpgme_ctx_set_engine_info): New prototypes.
* context.h (struct gpgme_context): New member engine_info.
* gpgme.c (gpgme_new): Allocate CTX->engine_info.
(gpgme_release): Deallocate CTX->engine_info.
(gpgme_ctx_get_engine_info, gpgme_ctx_set_engine_info): New
functions.
* op-support.c (_gpgme_op_reset): Look for correct engine info and
pass it to _gpgme_engine_new.
* version.c (gpgme_check_version): Adjust to
_gpgme_compare_versions returning an int.
(_gpgme_compare_versions): Return an int value, not a const char
pointer.
* ops.h (_gpgme_compare_versions): Same for prototype.
2004-12-07 18:25:54 +00:00
|
|
|
GPGME_1.1 {
|
|
|
|
global:
|
|
|
|
gpgme_set_engine_info;
|
|
|
|
|
|
|
|
gpgme_ctx_get_engine_info;
|
|
|
|
gpgme_ctx_set_engine_info;
|
2005-09-30 14:17:47 +00:00
|
|
|
|
|
|
|
gpgme_data_set_file_name;
|
|
|
|
gpgme_data_get_file_name;
|
2005-10-01 02:33:35 +00:00
|
|
|
|
|
|
|
gpgme_sig_notation_clear;
|
|
|
|
gpgme_sig_notation_add;
|
|
|
|
gpgme_sig_notation_get;
|
2005-10-06 10:44:26 +00:00
|
|
|
|
|
|
|
gpgme_free;
|
2007-11-22 16:44:37 +00:00
|
|
|
|
|
|
|
gpgme_op_getauditlog_start;
|
|
|
|
gpgme_op_getauditlog;
|
2008-01-04 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Support gpgconf.
gpgme/
2008-01-04 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (gpgconf_components): New variable.
(main_sources): Add gpgconf.c.
* gpgme.h (gpgme_protocol_t): New protocol GPGME_PROTOCOL_GPGCONF.
(gpgme_conf_level_t, gpgme_conf_type_t, gpgme_conf_arg_t)
(gpgme_conf_opt_t, gpgme_conf_comp_t, gpgme_conf_arg_new)
(gpgme_conf_arg_release, gpgme_conf_opt_change)
(gpgme_conf_release, gpgme_op_conf_load, gpgme_op_conf_save): New
types.
* gpgconf.c, engine-gpgconf.c: New files.
* engine.h: (_gpgme_engine_op_conf_load,
(_gpgme_engine_op_conf_save): New prototypes.
* op-support.c (_gpgme_op_reset): Ignore not implemented locale
function.
* posix-util.c (_gpgme_get_gpgconf_path): New function.
* w32-util.c (_gpgme_get_gpgconf_path): New function.
* engine-gpgsm.c:
(_gpgme_engine_ops_gpgsm): Add stubs for conf_load and conf_save.
* rungpg.c:
(_gpgme_engine_ops_gpg): Add stubs for conf_load and conf_save.
* gpgme.def: Add new gpgconf related interfaces.
* libgpgme.vers: Likewise.
* util.h (_gpgme_get_gpgconf_path): New prototype.
* gpgme.h (gpgme_protocol_t): Add GPGME_PROTOCOL_GPGCONF.
* engine-backend.h (_gpgme_engine_ops_gpgconf): New prototype.
(struct engine_ops): Add members for conf_load and conf_save.
* engine.c (engine_ops): Add _gpgme_engine_ops_gpgconf.
(_gpgme_engine_op_conf_load,
(_gpgme_engine_op_conf_save): New functions.
(gpgme_get_engine_info): Allow protocol GPGME_PROTOCOL_GPGCONF.
tests/
2008-01-04 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (TESTS_ENVIRONMENT): Use absolute path for
GNUPGHOME.
* gpg/Makefile.am (TESTS_ENVIRONMENT): Use absolute path for
GNUPGHOME.
* gpgsm/Makefile.am (TESTS_ENVIRONMENT): Use absolute path for
GNUPGHOME.
* gpg/Makefile.am (TESTS): Add t-gpgconf.
t-gpgconf.c: New file.
2008-01-04 14:31:15 +00:00
|
|
|
|
|
|
|
gpgme_conf_release;
|
|
|
|
gpgme_conf_arg_new;
|
|
|
|
gpgme_conf_arg_release;
|
|
|
|
gpgme_conf_opt_change;
|
|
|
|
gpgme_op_conf_load;
|
|
|
|
gpgme_op_conf_save;
|
2008-06-27 16:14:57 +00:00
|
|
|
|
|
|
|
gpgme_cancel_async;
|
2009-01-26 10:21:10 +00:00
|
|
|
|
|
|
|
gpgme_op_assuan_result;
|
|
|
|
gpgme_op_assuan_transact;
|
|
|
|
gpgme_op_assuan_transact_start;
|
2009-05-28 15:16:01 +00:00
|
|
|
|
|
|
|
gpgme_check_version_internal;
|
2004-12-07 Marcus Brinkmann <marcus@g10code.de>
* libgpgme.vers (GPGME_1.1): New version.
* engine-backend.h (struct engine_ops): Add argument FILE_NAME to
member get_version(). Add arguments FILE_NAME and HOME_DIR to
member new(). Change return type of get_file_name and get_version
to char *.
* engine-gpgsm.c (gpgsm_get_version): Change return type to char
pointer. Do not cache result.
(gpgsm_new): Add file_name and home_dir argument, and use them
instead of the defaults, if set.
* rungpg.c (struct engine_gpg): New member file_name.
(gpg_get_version): Change return type to char pointer, and do not
cache result.
(gpg_release): Free gpg->file_name.
(gpg_new): Take new arguments file_name and home_dir. Set the
--homedir argument if HOME_DIR is not NULL. Set gpg->file_name.
(start): Use gpg->file_name instead _gpgme_get_gpg_path, if set.
* engine.h (_gpgme_engine_info_copy, _gpgme_engine_info_release):
New prototypes.
(_gpgme_engine_new): Change first argument to gpgme_engine_info_t
info.
* engine.c: Include <assert.h>.
(gpgme_get_engine_info): Set *INFO within the lock. Move
ENGINE_INFO and ENGINE_INFO_LOCK to ....
(engine_info, engine_info_lock): ... here. New static variables.
(engine_get_version): Add file_name argument to
get_version invocation. Change return type to char pointer.
(gpgme_engine_check_version): Rewritten to free() the return value
of engine_get_version after using it.
(_gpgme_engine_info_release): New function.
(gpgme_get_engine_info): Rewritten.
(_gpgme_engine_info_copy): New function.
(_gpgme_set_engine_info): New function.
(gpgme_set_engine_info): New function.
(_gpgme_engine_new): Change first argument to gpgme_engine_info_t
info, and use that.
* gpgme.h (struct _gpgme_engine_info): Change type of file_name
and version to char * (remove the const). New member home_dir.
(gpgme_set_engine_info, gpgme_ctx_get_engine_info,
gpgme_ctx_set_engine_info): New prototypes.
* context.h (struct gpgme_context): New member engine_info.
* gpgme.c (gpgme_new): Allocate CTX->engine_info.
(gpgme_release): Deallocate CTX->engine_info.
(gpgme_ctx_get_engine_info, gpgme_ctx_set_engine_info): New
functions.
* op-support.c (_gpgme_op_reset): Look for correct engine info and
pass it to _gpgme_engine_new.
* version.c (gpgme_check_version): Adjust to
_gpgme_compare_versions returning an int.
(_gpgme_compare_versions): Return an int value, not a const char
pointer.
* ops.h (_gpgme_compare_versions): Same for prototype.
2004-12-07 18:25:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2004-05-21 19:43:39 +00:00
|
|
|
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_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;
|
|
|
|
|
|
|
|
local:
|
|
|
|
*;
|
|
|
|
|
2002-12-23 23:47:27 +00:00
|
|
|
};
|