9344a752aa1c7be54380fb183e2e771b3ca6b038
[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_get_ctx_flag;
105     gpgme_data_set_flag;
106
107     gpgme_op_createkey_start;
108     gpgme_op_createkey;
109     gpgme_op_createsubkey_start;
110     gpgme_op_createsubkey;
111     gpgme_op_adduid_start;
112     gpgme_op_adduid;
113     gpgme_op_revuid_start;
114     gpgme_op_revuid;
115     gpgme_op_keysign_start;
116     gpgme_op_keysign;
117     gpgme_op_tofu_policy_start;
118     gpgme_op_tofu_policy;
119     gpgme_op_interact_start;
120     gpgme_op_interact;
121
122     gpgme_addrspec_from_uid;
123
124     gpgme_set_sender;
125     gpgme_get_sender;
126
127     gpgme_op_query_swdb;
128     gpgme_op_query_swdb_result;
129 };
130
131
132 GPGME_1.0 {
133   global:
134     gpgme_check_version;
135     gpgme_get_engine_info;
136     gpgme_engine_check_version;
137
138     gpgme_err_code_from_errno;
139     gpgme_err_code_to_errno;
140     gpgme_err_make_from_errno;
141     gpgme_error_from_errno;
142     gpgme_strerror;
143     gpgme_strerror_r;
144     gpgme_strsource;
145
146     gpgme_data_get_encoding;
147     gpgme_data_new;
148     gpgme_data_new_from_cbs;
149     gpgme_data_new_from_fd;
150     gpgme_data_new_from_file;
151     gpgme_data_new_from_filepart;
152     gpgme_data_new_from_mem;
153     gpgme_data_new_from_stream;
154     gpgme_data_read;
155     gpgme_data_release;
156     gpgme_data_release_and_get_mem;
157     gpgme_data_seek;
158     gpgme_data_set_encoding;
159     gpgme_data_write;
160
161     gpgme_get_protocol_name;
162     gpgme_hash_algo_name;
163     gpgme_pubkey_algo_name;
164
165     gpgme_new;
166     gpgme_get_armor;
167     gpgme_get_include_certs;
168     gpgme_get_io_cbs;
169     gpgme_get_keylist_mode;
170     gpgme_get_passphrase_cb;
171     gpgme_get_progress_cb;
172     gpgme_get_protocol;
173     gpgme_get_textmode;
174     gpgme_release;
175     gpgme_set_armor;
176     gpgme_set_include_certs;
177     gpgme_set_io_cbs;
178     gpgme_set_keylist_mode;
179     gpgme_set_locale;
180     gpgme_set_passphrase_cb;
181     gpgme_set_progress_cb;
182     gpgme_set_protocol;
183     gpgme_set_textmode;
184     gpgme_signers_add;
185     gpgme_signers_clear;
186     gpgme_signers_count;
187     gpgme_signers_enum;
188
189     gpgme_key_ref;
190     gpgme_key_unref;
191     gpgme_key_release;
192
193     gpgme_trust_item_ref;
194     gpgme_trust_item_unref;
195
196     gpgme_cancel;
197     gpgme_op_card_edit;
198     gpgme_op_card_edit_start;
199     gpgme_op_decrypt;
200     gpgme_op_decrypt_result;
201     gpgme_op_decrypt_start;
202     gpgme_op_decrypt_verify;
203     gpgme_op_decrypt_verify_start;
204     gpgme_op_delete;
205     gpgme_op_delete_start;
206     gpgme_op_edit;
207     gpgme_op_edit_start;
208     gpgme_op_encrypt;
209     gpgme_op_encrypt_result;
210     gpgme_op_encrypt_sign;
211     gpgme_op_encrypt_sign_start;
212     gpgme_op_encrypt_start;
213     gpgme_op_export;
214     gpgme_op_export_ext;
215     gpgme_op_export_ext_start;
216     gpgme_op_export_start;
217     gpgme_op_genkey;
218     gpgme_op_genkey_result;
219     gpgme_op_genkey_start;
220     gpgme_get_key;
221     gpgme_op_import;
222     gpgme_op_import_result;
223     gpgme_op_import_start;
224     gpgme_op_keylist_end;
225     gpgme_op_keylist_ext_start;
226     gpgme_op_keylist_from_data_start;
227     gpgme_op_keylist_next;
228     gpgme_op_keylist_result;
229     gpgme_op_keylist_start;
230     gpgme_op_sign;
231     gpgme_op_sign_result;
232     gpgme_op_sign_start;
233     gpgme_op_trustlist_end;
234     gpgme_op_trustlist_next;
235     gpgme_op_trustlist_start;
236     gpgme_op_verify;
237     gpgme_op_verify_result;
238     gpgme_op_verify_start;
239     gpgme_wait;
240
241     gpgme_data_new_with_read_cb;
242     gpgme_data_rewind;
243     gpgme_get_sig_status;
244     gpgme_get_sig_string_attr;
245     gpgme_get_sig_ulong_attr;
246     gpgme_get_sig_key;
247     gpgme_key_get_string_attr;
248     gpgme_key_get_ulong_attr;
249     gpgme_key_sig_get_string_attr;
250     gpgme_key_sig_get_ulong_attr;
251     gpgme_op_import_ext;
252     gpgme_trust_item_get_int_attr;
253     gpgme_trust_item_get_string_attr;
254     gpgme_trust_item_release;
255
256     gpgme_err_code_from_syserror;
257     gpgme_err_set_errno;
258
259   local:
260     *;
261
262 };