Merge branch 'master' of ssh+git://playfair.gnupg.org/git/gpgme
[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     gpgme_op_conf_dir;
50
51     gpgme_cancel_async;
52
53     gpgme_op_assuan_result;
54     gpgme_op_assuan_transact;
55     gpgme_op_assuan_transact_start;
56
57     gpgme_check_version_internal;
58
59     gpgme_io_read;
60     gpgme_io_write;
61
62     gpgme_result_ref;
63     gpgme_result_unref;
64
65     gpgme_op_import_keys;
66     gpgme_op_import_keys_start;
67     gpgme_op_export_keys;
68     gpgme_op_export_keys_start;
69
70     gpgme_op_assuan_transact_ext;
71
72     gpgme_wait_ext;
73
74     gpgme_op_vfs_mount_result;
75     gpgme_op_vfs_mount;
76     gpgme_op_vfs_create;
77
78     gpgme_key_from_uid;
79     gpgme_set_sub_protocol;
80     gpgme_get_sub_protocol;
81
82     gpgme_op_passwd_start;
83     gpgme_op_passwd;
84
85     gpgme_set_global_flag;
86
87     gpgme_io_writen;
88
89     gpgme_set_pinentry_mode;
90     gpgme_get_pinentry_mode;
91
92     gpgme_get_dirinfo;
93
94     gpgme_op_spawn_start;
95     gpgme_op_spawn;
96
97     gpgme_set_offline;
98     gpgme_get_offline;
99
100     gpgme_set_status_cb;
101     gpgme_get_status_cb;
102
103     gpgme_pubkey_algo_string;
104     gpgme_set_ctx_flag;
105     gpgme_get_ctx_flag;
106     gpgme_data_set_flag;
107
108     gpgme_op_createkey_start;
109     gpgme_op_createkey;
110     gpgme_op_createsubkey_start;
111     gpgme_op_createsubkey;
112     gpgme_op_adduid_start;
113     gpgme_op_adduid;
114     gpgme_op_revuid_start;
115     gpgme_op_revuid;
116     gpgme_op_keysign_start;
117     gpgme_op_keysign;
118     gpgme_op_tofu_policy_start;
119     gpgme_op_tofu_policy;
120     gpgme_op_interact_start;
121     gpgme_op_interact;
122
123     gpgme_addrspec_from_uid;
124
125     gpgme_set_sender;
126     gpgme_get_sender;
127
128     gpgme_op_query_swdb;
129     gpgme_op_query_swdb_result;
130
131     gpgme_op_set_uid_flag_start;
132     gpgme_op_set_uid_flag;
133
134     gpgme_op_decrypt_ext;
135     gpgme_op_decrypt_ext_start;
136 };
137
138
139 GPGME_1.0 {
140   global:
141     gpgme_check_version;
142     gpgme_get_engine_info;
143     gpgme_engine_check_version;
144
145     gpgme_err_code_from_errno;
146     gpgme_err_code_to_errno;
147     gpgme_err_make_from_errno;
148     gpgme_error_from_errno;
149     gpgme_strerror;
150     gpgme_strerror_r;
151     gpgme_strsource;
152
153     gpgme_data_get_encoding;
154     gpgme_data_new;
155     gpgme_data_new_from_cbs;
156     gpgme_data_new_from_fd;
157     gpgme_data_new_from_file;
158     gpgme_data_new_from_filepart;
159     gpgme_data_new_from_mem;
160     gpgme_data_new_from_stream;
161     gpgme_data_read;
162     gpgme_data_release;
163     gpgme_data_release_and_get_mem;
164     gpgme_data_seek;
165     gpgme_data_set_encoding;
166     gpgme_data_write;
167
168     gpgme_get_protocol_name;
169     gpgme_hash_algo_name;
170     gpgme_pubkey_algo_name;
171
172     gpgme_new;
173     gpgme_get_armor;
174     gpgme_get_include_certs;
175     gpgme_get_io_cbs;
176     gpgme_get_keylist_mode;
177     gpgme_get_passphrase_cb;
178     gpgme_get_progress_cb;
179     gpgme_get_protocol;
180     gpgme_get_textmode;
181     gpgme_release;
182     gpgme_set_armor;
183     gpgme_set_include_certs;
184     gpgme_set_io_cbs;
185     gpgme_set_keylist_mode;
186     gpgme_set_locale;
187     gpgme_set_passphrase_cb;
188     gpgme_set_progress_cb;
189     gpgme_set_protocol;
190     gpgme_set_textmode;
191     gpgme_signers_add;
192     gpgme_signers_clear;
193     gpgme_signers_count;
194     gpgme_signers_enum;
195
196     gpgme_key_ref;
197     gpgme_key_unref;
198     gpgme_key_release;
199
200     gpgme_trust_item_ref;
201     gpgme_trust_item_unref;
202
203     gpgme_cancel;
204     gpgme_op_card_edit;
205     gpgme_op_card_edit_start;
206     gpgme_op_decrypt;
207     gpgme_op_decrypt_result;
208     gpgme_op_decrypt_start;
209     gpgme_op_decrypt_verify;
210     gpgme_op_decrypt_verify_start;
211     gpgme_op_delete;
212     gpgme_op_delete_start;
213     gpgme_op_delete_ext;
214     gpgme_op_delete_ext_start;
215     gpgme_op_edit;
216     gpgme_op_edit_start;
217     gpgme_op_encrypt;
218     gpgme_op_encrypt_result;
219     gpgme_op_encrypt_sign;
220     gpgme_op_encrypt_sign_start;
221     gpgme_op_encrypt_start;
222     gpgme_op_export;
223     gpgme_op_export_ext;
224     gpgme_op_export_ext_start;
225     gpgme_op_export_start;
226     gpgme_op_genkey;
227     gpgme_op_genkey_result;
228     gpgme_op_genkey_start;
229     gpgme_get_key;
230     gpgme_op_import;
231     gpgme_op_import_result;
232     gpgme_op_import_start;
233     gpgme_op_keylist_end;
234     gpgme_op_keylist_ext_start;
235     gpgme_op_keylist_from_data_start;
236     gpgme_op_keylist_next;
237     gpgme_op_keylist_result;
238     gpgme_op_keylist_start;
239     gpgme_op_sign;
240     gpgme_op_sign_result;
241     gpgme_op_sign_start;
242     gpgme_op_trustlist_end;
243     gpgme_op_trustlist_next;
244     gpgme_op_trustlist_start;
245     gpgme_op_verify;
246     gpgme_op_verify_result;
247     gpgme_op_verify_start;
248     gpgme_wait;
249
250     gpgme_data_new_with_read_cb;
251     gpgme_data_rewind;
252     gpgme_get_sig_status;
253     gpgme_get_sig_string_attr;
254     gpgme_get_sig_ulong_attr;
255     gpgme_get_sig_key;
256     gpgme_key_get_string_attr;
257     gpgme_key_get_ulong_attr;
258     gpgme_key_sig_get_string_attr;
259     gpgme_key_sig_get_ulong_attr;
260     gpgme_op_import_ext;
261     gpgme_trust_item_get_int_attr;
262     gpgme_trust_item_get_string_attr;
263     gpgme_trust_item_release;
264
265     gpgme_err_code_from_syserror;
266     gpgme_err_set_errno;
267
268   local:
269     *;
270
271 };