core: Enable extraction of session keys.
[gpgme.git] / src / libgpgme.vers
1 # libgpgme.vers - List of symbols to export.
2 # Copyright (C) 2002, 2004, 2005, 2009, 2012 g10 Code GmbH
3 #
4 # This file is part of GPGME.
5 #
6 # GPGME is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU Lesser general Public License as
8 # published by the Free Software Foundation; either version 2.1 of
9 # the License, or (at your option) any later version.
10 #
11 # GPGME is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU Lesser General Public License for more details.
15 #
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this program; if not, see <http://www.gnu.org/licenses/>.
18
19 #-------------------------------------------------------
20 # Please remember to add new functions also to gpgme.def
21 #-------------------------------------------------------
22
23 GPGME_1.1 {
24   global:
25     gpgme_set_engine_info;
26
27     gpgme_ctx_get_engine_info;
28     gpgme_ctx_set_engine_info;
29
30     gpgme_data_set_file_name;
31     gpgme_data_get_file_name;
32     gpgme_data_identify;
33
34     gpgme_sig_notation_clear;
35     gpgme_sig_notation_add;
36     gpgme_sig_notation_get;
37
38     gpgme_free;
39
40     gpgme_op_getauditlog_start;
41     gpgme_op_getauditlog;
42
43     gpgme_conf_release;
44     gpgme_conf_arg_new;
45     gpgme_conf_arg_release;
46     gpgme_conf_opt_change;
47     gpgme_op_conf_load;
48     gpgme_op_conf_save;
49
50     gpgme_cancel_async;
51
52     gpgme_op_assuan_result;
53     gpgme_op_assuan_transact;
54     gpgme_op_assuan_transact_start;
55
56     gpgme_check_version_internal;
57
58     gpgme_io_read;
59     gpgme_io_write;
60
61     gpgme_result_ref;
62     gpgme_result_unref;
63
64     gpgme_op_import_keys;
65     gpgme_op_import_keys_start;
66     gpgme_op_export_keys;
67     gpgme_op_export_keys_start;
68
69     gpgme_op_assuan_transact_ext;
70
71     gpgme_wait_ext;
72
73     gpgme_op_vfs_mount_result;
74     gpgme_op_vfs_mount;
75     gpgme_op_vfs_create;
76
77     gpgme_key_from_uid;
78     gpgme_set_sub_protocol;
79     gpgme_get_sub_protocol;
80
81     gpgme_op_passwd_start;
82     gpgme_op_passwd;
83
84     gpgme_set_global_flag;
85
86     gpgme_io_writen;
87
88     gpgme_set_pinentry_mode;
89     gpgme_get_pinentry_mode;
90
91     gpgme_get_dirinfo;
92
93     gpgme_op_spawn_start;
94     gpgme_op_spawn;
95
96     gpgme_set_offline;
97     gpgme_get_offline;
98
99     gpgme_set_status_cb;
100     gpgme_get_status_cb;
101
102     gpgme_pubkey_algo_string;
103     gpgme_set_ctx_flag;
104     gpgme_data_set_flag;
105
106     gpgme_op_createkey_start;
107     gpgme_op_createkey;
108     gpgme_op_createsubkey_start;
109     gpgme_op_createsubkey;
110     gpgme_op_adduid_start;
111     gpgme_op_adduid;
112     gpgme_op_revuid_start;
113     gpgme_op_revuid;
114     gpgme_op_keysign_start;
115     gpgme_op_keysign;
116     gpgme_op_tofu_policy_start;
117     gpgme_op_tofu_policy;
118     gpgme_op_interact_start;
119     gpgme_op_interact;
120
121     gpgme_addrspec_from_uid;
122
123     gpgme_set_sender;
124     gpgme_get_sender;
125
126     gpgme_op_query_swdb;
127     gpgme_op_query_swdb_result;
128
129     gpgme_set_export_session_keys;
130     gpgme_get_export_session_keys;
131 };
132
133
134 GPGME_1.0 {
135   global:
136     gpgme_check_version;
137     gpgme_get_engine_info;
138     gpgme_engine_check_version;
139
140     gpgme_err_code_from_errno;
141     gpgme_err_code_to_errno;
142     gpgme_err_make_from_errno;
143     gpgme_error_from_errno;
144     gpgme_strerror;
145     gpgme_strerror_r;
146     gpgme_strsource;
147
148     gpgme_data_get_encoding;
149     gpgme_data_new;
150     gpgme_data_new_from_cbs;
151     gpgme_data_new_from_fd;
152     gpgme_data_new_from_file;
153     gpgme_data_new_from_filepart;
154     gpgme_data_new_from_mem;
155     gpgme_data_new_from_stream;
156     gpgme_data_read;
157     gpgme_data_release;
158     gpgme_data_release_and_get_mem;
159     gpgme_data_seek;
160     gpgme_data_set_encoding;
161     gpgme_data_write;
162
163     gpgme_get_protocol_name;
164     gpgme_hash_algo_name;
165     gpgme_pubkey_algo_name;
166
167     gpgme_new;
168     gpgme_get_armor;
169     gpgme_get_include_certs;
170     gpgme_get_io_cbs;
171     gpgme_get_keylist_mode;
172     gpgme_get_passphrase_cb;
173     gpgme_get_progress_cb;
174     gpgme_get_protocol;
175     gpgme_get_textmode;
176     gpgme_release;
177     gpgme_set_armor;
178     gpgme_set_include_certs;
179     gpgme_set_io_cbs;
180     gpgme_set_keylist_mode;
181     gpgme_set_locale;
182     gpgme_set_passphrase_cb;
183     gpgme_set_progress_cb;
184     gpgme_set_protocol;
185     gpgme_set_textmode;
186     gpgme_signers_add;
187     gpgme_signers_clear;
188     gpgme_signers_count;
189     gpgme_signers_enum;
190
191     gpgme_key_ref;
192     gpgme_key_unref;
193     gpgme_key_release;
194
195     gpgme_trust_item_ref;
196     gpgme_trust_item_unref;
197
198     gpgme_cancel;
199     gpgme_op_card_edit;
200     gpgme_op_card_edit_start;
201     gpgme_op_decrypt;
202     gpgme_op_decrypt_result;
203     gpgme_op_decrypt_start;
204     gpgme_op_decrypt_verify;
205     gpgme_op_decrypt_verify_start;
206     gpgme_op_delete;
207     gpgme_op_delete_start;
208     gpgme_op_edit;
209     gpgme_op_edit_start;
210     gpgme_op_encrypt;
211     gpgme_op_encrypt_result;
212     gpgme_op_encrypt_sign;
213     gpgme_op_encrypt_sign_start;
214     gpgme_op_encrypt_start;
215     gpgme_op_export;
216     gpgme_op_export_ext;
217     gpgme_op_export_ext_start;
218     gpgme_op_export_start;
219     gpgme_op_genkey;
220     gpgme_op_genkey_result;
221     gpgme_op_genkey_start;
222     gpgme_get_key;
223     gpgme_op_import;
224     gpgme_op_import_result;
225     gpgme_op_import_start;
226     gpgme_op_keylist_end;
227     gpgme_op_keylist_ext_start;
228     gpgme_op_keylist_next;
229     gpgme_op_keylist_result;
230     gpgme_op_keylist_start;
231     gpgme_op_sign;
232     gpgme_op_sign_result;
233     gpgme_op_sign_start;
234     gpgme_op_trustlist_end;
235     gpgme_op_trustlist_next;
236     gpgme_op_trustlist_start;
237     gpgme_op_verify;
238     gpgme_op_verify_result;
239     gpgme_op_verify_start;
240     gpgme_wait;
241
242     gpgme_data_new_with_read_cb;
243     gpgme_data_rewind;
244     gpgme_get_sig_status;
245     gpgme_get_sig_string_attr;
246     gpgme_get_sig_ulong_attr;
247     gpgme_get_sig_key;
248     gpgme_key_get_string_attr;
249     gpgme_key_get_ulong_attr;
250     gpgme_key_sig_get_string_attr;
251     gpgme_key_sig_get_ulong_attr;
252     gpgme_op_import_ext;
253     gpgme_trust_item_get_int_attr;
254     gpgme_trust_item_get_string_attr;
255     gpgme_trust_item_release;
256
257     gpgme_err_code_from_syserror;
258     gpgme_err_set_errno;
259
260   local:
261     *;
262
263 };