Indent.
[gnutls:gnutls.git] / lib / libgnutls.map
1 # libgnutls.map -- libgnutls linker version script.           -*- ld-script -*-
2 # Copyright (C) 2005-2011 Free Software Foundation, Inc.
3 #
4 # Author: Simon Josefsson
5 #
6 # This file is part of GnuTLS.
7 #
8 # The GnuTLS is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU Lesser General Public License
10 # as published by the Free Software Foundation; either version 3 of
11 # the License, or (at your option) any later version.
12 #
13 # The GnuTLS is distributed in the hope that it will be
14 # useful, but WITHOUT ANY WARRANTY; without even the implied warranty
15 # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 # Lesser General Public License for more details.
17 #
18 # You should have received a copy of the GNU Lesser General Public License
19 # along with this program.  If not, see <http://www.gnu.org/licenses/>
20
21 GNUTLS_1_4
22 {
23   global:
24     gnutls_alert_get;
25     gnutls_alert_get_name;
26     gnutls_alert_send;
27     gnutls_alert_send_appropriate;
28     gnutls_anon_allocate_client_credentials;
29     gnutls_anon_allocate_server_credentials;
30     gnutls_anon_free_client_credentials;
31     gnutls_anon_free_server_credentials;
32     gnutls_anon_set_params_function;
33     gnutls_anon_set_server_dh_params;
34     gnutls_anon_set_server_params_function;
35     gnutls_auth_client_get_type;
36     gnutls_auth_get_type;
37     gnutls_auth_server_get_type;
38     gnutls_bye;
39     gnutls_calc_dh_key;
40     gnutls_calc_dh_secret;
41     gnutls_calloc;
42     gnutls_certificate_activation_time_peers;
43     gnutls_certificate_allocate_credentials;
44     gnutls_certificate_client_get_request_status;
45     gnutls_certificate_client_set_retrieve_function;
46     gnutls_certificate_expiration_time_peers;
47     gnutls_certificate_free_ca_names;
48     gnutls_certificate_free_cas;
49     gnutls_certificate_free_credentials;
50     gnutls_certificate_free_crls;
51     gnutls_certificate_free_keys;
52     gnutls_certificate_get_ours;
53     gnutls_certificate_get_peers;
54     gnutls_certificate_send_x509_rdn_sequence;
55     gnutls_certificate_server_set_request;
56     gnutls_certificate_server_set_retrieve_function;
57     gnutls_certificate_set_dh_params;
58     gnutls_certificate_set_openpgp_key;
59     gnutls_certificate_set_openpgp_key_file2;
60     gnutls_certificate_set_openpgp_key_file;
61     gnutls_certificate_set_openpgp_key_mem2;
62     gnutls_certificate_set_openpgp_key_mem;
63     gnutls_certificate_set_openpgp_keyring_file;
64     gnutls_certificate_set_openpgp_keyring_mem;
65     gnutls_certificate_set_params_function;
66     gnutls_certificate_set_rsa_export_params;
67     gnutls_certificate_set_verify_flags;
68     gnutls_certificate_set_verify_limits;
69     gnutls_certificate_set_x509_crl;
70     gnutls_certificate_set_x509_crl_file;
71     gnutls_certificate_set_x509_crl_mem;
72     gnutls_certificate_set_x509_key;
73     gnutls_certificate_set_x509_key_file;
74     gnutls_certificate_set_x509_key_mem;
75     gnutls_certificate_set_x509_simple_pkcs12_file;
76     gnutls_certificate_set_x509_trust;
77     gnutls_certificate_set_x509_trust_file;
78     gnutls_certificate_set_x509_trust_mem;
79     gnutls_certificate_type_get;
80     gnutls_certificate_type_get_id;
81     gnutls_certificate_type_get_name;
82     gnutls_certificate_type_list;
83     gnutls_certificate_type_set_priority;
84     gnutls_certificate_verify_peers2;
85     gnutls_certificate_verify_peers;
86     gnutls_check_version;
87     gnutls_cipher_get;
88     gnutls_cipher_get_id;
89     gnutls_cipher_get_key_size;
90     gnutls_cipher_get_name;
91     gnutls_cipher_list;
92     gnutls_cipher_set_priority;
93     gnutls_cipher_suite_get_name;
94     gnutls_cipher_suite_info;
95     gnutls_compression_get;
96     gnutls_compression_get_id;
97     gnutls_compression_get_name;
98     gnutls_compression_list;
99     gnutls_compression_set_priority;
100     gnutls_credentials_clear;
101     gnutls_credentials_set;
102     gnutls_db_check_entry;
103     gnutls_db_get_ptr;
104     gnutls_db_remove_session;
105     gnutls_db_set_cache_expiration;
106     gnutls_db_set_ptr;
107     gnutls_db_set_remove_function;
108     gnutls_db_set_retrieve_function;
109     gnutls_db_set_store_function;
110     gnutls_deinit;
111     gnutls_dh_get_group;
112     gnutls_dh_get_peers_public_bits;
113     gnutls_dh_get_prime_bits;
114     gnutls_dh_get_pubkey;
115     gnutls_dh_get_secret_bits;
116     gnutls_dh_params_cpy;
117     gnutls_dh_params_deinit;
118     gnutls_dh_params_export_pkcs3;
119     gnutls_dh_params_export_raw;
120     gnutls_dh_params_generate2;
121     gnutls_dh_params_import_pkcs3;
122     gnutls_dh_params_import_raw;
123     gnutls_dh_params_init;
124     gnutls_dh_set_prime_bits;
125     gnutls_error_is_fatal;
126     gnutls_error_to_alert;
127     gnutls_fingerprint;
128     gnutls_free;
129     gnutls_global_deinit;
130     gnutls_global_init;
131     gnutls_global_set_log_function;
132     gnutls_global_set_log_level;
133     gnutls_global_set_mem_functions;
134     gnutls_handshake;
135     gnutls_handshake_get_last_in;
136     gnutls_handshake_get_last_out;
137     gnutls_handshake_set_max_packet_length;
138     gnutls_handshake_set_post_client_hello_function;
139     gnutls_handshake_set_private_extensions;
140     gnutls_hex2bin;
141     gnutls_hex_decode;
142     gnutls_hex_encode;
143     gnutls_init;
144     gnutls_kx_get;
145     gnutls_kx_get_id;
146     gnutls_kx_get_name;
147     gnutls_kx_list;
148     gnutls_kx_set_priority;
149     gnutls_mac_get;
150     gnutls_mac_get_id;
151     gnutls_mac_get_key_size;
152     gnutls_mac_get_name;
153     gnutls_mac_list;
154     gnutls_mac_set_priority;
155     gnutls_malloc;
156     gnutls_openpgp_count_key_names;
157     gnutls_openpgp_crt_check_hostname;
158     gnutls_openpgp_crt_deinit;
159     gnutls_openpgp_crt_export;
160     gnutls_openpgp_crt_get_auth_subkey;
161     gnutls_openpgp_crt_get_creation_time;
162     gnutls_openpgp_crt_get_expiration_time;
163     gnutls_openpgp_crt_get_fingerprint;
164     gnutls_openpgp_crt_get_key_id;
165     gnutls_openpgp_crt_get_key_usage;
166     gnutls_openpgp_crt_get_name;
167     gnutls_openpgp_crt_get_pk_algorithm;
168     gnutls_openpgp_crt_get_pk_dsa_raw;
169     gnutls_openpgp_crt_get_pk_rsa_raw;
170     gnutls_openpgp_crt_get_preferred_key_id;
171     gnutls_openpgp_crt_get_revoked_status;
172     gnutls_openpgp_crt_get_subkey_count;
173     gnutls_openpgp_crt_get_subkey_creation_time;
174     gnutls_openpgp_crt_get_subkey_expiration_time;
175     gnutls_openpgp_crt_get_subkey_fingerprint;
176     gnutls_openpgp_crt_get_subkey_id;
177     gnutls_openpgp_crt_get_subkey_idx;
178     gnutls_openpgp_crt_get_subkey_pk_algorithm;
179     gnutls_openpgp_crt_get_subkey_pk_dsa_raw;
180     gnutls_openpgp_crt_get_subkey_pk_rsa_raw;
181     gnutls_openpgp_crt_get_subkey_revoked_status;
182     gnutls_openpgp_crt_get_subkey_usage;
183     gnutls_openpgp_crt_get_version;
184     gnutls_openpgp_crt_import;
185     gnutls_openpgp_crt_init;
186     gnutls_openpgp_crt_print;
187     gnutls_openpgp_crt_set_preferred_key_id;
188     gnutls_openpgp_crt_verify_ring;
189     gnutls_openpgp_crt_verify_self;
190     gnutls_openpgp_get_key;
191     gnutls_openpgp_keyring_check_id;
192     gnutls_openpgp_keyring_deinit;
193     gnutls_openpgp_keyring_get_crt;
194     gnutls_openpgp_keyring_get_crt_count;
195     gnutls_openpgp_keyring_import;
196     gnutls_openpgp_keyring_init;
197     gnutls_openpgp_privkey_deinit;
198     gnutls_openpgp_privkey_export;
199     gnutls_openpgp_privkey_export_dsa_raw;
200     gnutls_openpgp_privkey_export_rsa_raw;
201     gnutls_openpgp_privkey_export_subkey_dsa_raw;
202     gnutls_openpgp_privkey_export_subkey_rsa_raw;
203     gnutls_openpgp_privkey_get_fingerprint;
204     gnutls_openpgp_privkey_get_key_id;
205     gnutls_openpgp_privkey_get_pk_algorithm;
206     gnutls_openpgp_privkey_get_preferred_key_id;
207     gnutls_openpgp_privkey_get_revoked_status;
208     gnutls_openpgp_privkey_get_subkey_count;
209     gnutls_openpgp_privkey_get_subkey_creation_time;
210     gnutls_openpgp_privkey_get_subkey_expiration_time;
211     gnutls_openpgp_privkey_get_subkey_fingerprint;
212     gnutls_openpgp_privkey_get_subkey_id;
213     gnutls_openpgp_privkey_get_subkey_idx;
214     gnutls_openpgp_privkey_get_subkey_pk_algorithm;
215     gnutls_openpgp_privkey_get_subkey_revoked_status;
216     gnutls_openpgp_privkey_import;
217     gnutls_openpgp_privkey_init;
218     gnutls_openpgp_privkey_set_preferred_key_id;
219     gnutls_openpgp_privkey_sign_hash;
220     gnutls_openpgp_send_cert;
221     gnutls_openpgp_set_recv_key_function;
222     gnutls_pem_base64_decode;
223     gnutls_pem_base64_decode_alloc;
224     gnutls_pem_base64_encode;
225     gnutls_pem_base64_encode_alloc;
226     gnutls_perror;
227     gnutls_pk_algorithm_get_name;
228     gnutls_pk_get_id;
229     gnutls_pk_get_name;
230     gnutls_pk_list;
231     gnutls_pk_params_init;
232     gnutls_pk_params_release;
233     gnutls_pkcs12_bag_decrypt;
234     gnutls_pkcs12_bag_deinit;
235     gnutls_pkcs12_bag_encrypt;
236     gnutls_pkcs12_bag_get_count;
237     gnutls_pkcs12_bag_get_data;
238     gnutls_pkcs12_bag_get_friendly_name;
239     gnutls_pkcs12_bag_get_key_id;
240     gnutls_pkcs12_bag_get_type;
241     gnutls_pkcs12_bag_init;
242     gnutls_pkcs12_bag_set_crl;
243     gnutls_pkcs12_bag_set_crt;
244     gnutls_pkcs12_bag_set_data;
245     gnutls_pkcs12_bag_set_friendly_name;
246     gnutls_pkcs12_bag_set_key_id;
247     gnutls_pkcs12_deinit;
248     gnutls_pkcs12_export;
249     gnutls_pkcs12_generate_mac;
250     gnutls_pkcs12_get_bag;
251     gnutls_pkcs12_import;
252     gnutls_pkcs12_init;
253     gnutls_pkcs12_set_bag;
254     gnutls_pkcs12_verify_mac;
255     gnutls_pkcs7_deinit;
256     gnutls_pkcs7_delete_crl;
257     gnutls_pkcs7_delete_crt;
258     gnutls_pkcs7_export;
259     gnutls_pkcs7_get_crl_count;
260     gnutls_pkcs7_get_crl_raw;
261     gnutls_pkcs7_get_crt_count;
262     gnutls_pkcs7_get_crt_raw;
263     gnutls_pkcs7_import;
264     gnutls_pkcs7_init;
265     gnutls_pkcs7_set_crl;
266     gnutls_pkcs7_set_crl_raw;
267     gnutls_pkcs7_set_crt;
268     gnutls_pkcs7_set_crt_raw;
269     gnutls_prf;
270     gnutls_prf_raw;
271     gnutls_priority_deinit;
272     gnutls_priority_init;
273     gnutls_priority_set;
274     gnutls_priority_set_direct;
275     gnutls_protocol_get_id;
276     gnutls_protocol_get_name;
277     gnutls_protocol_get_version;
278     gnutls_protocol_list;
279     gnutls_protocol_set_priority;
280     gnutls_psk_allocate_client_credentials;
281     gnutls_psk_allocate_server_credentials;
282     gnutls_psk_client_get_hint;
283     gnutls_psk_free_client_credentials;
284     gnutls_psk_free_server_credentials;
285     gnutls_psk_netconf_derive_key;
286     gnutls_psk_server_get_username;
287     gnutls_psk_set_client_credentials;
288     gnutls_psk_set_client_credentials_function;
289     gnutls_psk_set_params_function;
290     gnutls_psk_set_server_credentials_file;
291     gnutls_psk_set_server_credentials_function;
292     gnutls_psk_set_server_credentials_hint;
293     gnutls_psk_set_server_dh_params;
294     gnutls_psk_set_server_params_function;
295     gnutls_realloc;
296     gnutls_realloc_fast;
297     gnutls_record_check_pending;
298     gnutls_record_disable_padding;
299     gnutls_record_get_direction;
300     gnutls_record_get_max_size;
301     gnutls_record_recv;
302     gnutls_record_send;
303     gnutls_record_set_max_size;
304     gnutls_rehandshake;
305     gnutls_rsa_export_get_modulus_bits;
306     gnutls_rsa_export_get_pubkey;
307     gnutls_rsa_params_cpy;
308     gnutls_rsa_params_deinit;
309     gnutls_rsa_params_export_pkcs1;
310     gnutls_rsa_params_export_raw;
311     gnutls_rsa_params_generate2;
312     gnutls_rsa_params_import_pkcs1;
313     gnutls_rsa_params_import_raw;
314     gnutls_rsa_params_init;
315     gnutls_secure_calloc;
316     gnutls_secure_malloc;
317     gnutls_server_name_get;
318     gnutls_server_name_set;
319     gnutls_session_enable_compatibility_mode;
320     gnutls_session_get_data2;
321     gnutls_session_get_data;
322     gnutls_session_get_id;
323     gnutls_session_get_ptr;
324     gnutls_session_is_resumed;
325     gnutls_session_set_data;
326     gnutls_session_set_finished_function;
327     gnutls_session_set_ptr;
328     gnutls_set_default_export_priority;
329     gnutls_set_default_priority;
330     gnutls_sign_algorithm_get_name;
331     gnutls_sign_callback_get;
332     gnutls_sign_callback_set;
333     gnutls_sign_get_id;
334     gnutls_sign_get_name;
335     gnutls_sign_list;
336     gnutls_srp_1024_group_generator;
337     gnutls_srp_1024_group_prime;
338     gnutls_srp_1536_group_generator;
339     gnutls_srp_1536_group_prime;
340     gnutls_srp_2048_group_generator;
341     gnutls_srp_2048_group_prime;
342     gnutls_srp_allocate_client_credentials;
343     gnutls_srp_allocate_server_credentials;
344     gnutls_srp_base64_decode;
345     gnutls_srp_base64_decode_alloc;
346     gnutls_srp_base64_encode;
347     gnutls_srp_base64_encode_alloc;
348     gnutls_srp_free_client_credentials;
349     gnutls_srp_free_server_credentials;
350     gnutls_srp_server_get_username;
351     gnutls_srp_set_client_credentials;
352     gnutls_srp_set_client_credentials_function;
353     gnutls_srp_set_prime_bits;
354     gnutls_srp_set_server_credentials_file;
355     gnutls_srp_set_server_credentials_function;
356     gnutls_srp_verifier;
357     gnutls_strdup;
358     gnutls_strerror;
359     gnutls_strerror_name;
360     gnutls_supplemental_get_name;
361     gnutls_transport_get_ptr2;
362     gnutls_transport_get_ptr;
363     gnutls_transport_set_errno;
364     gnutls_transport_set_global_errno;
365     gnutls_transport_set_ptr2;
366     gnutls_transport_set_ptr;
367     gnutls_transport_set_pull_function;
368     gnutls_transport_set_push_function;
369     gnutls_x509_crl_check_issuer;
370     gnutls_x509_crl_deinit;
371     gnutls_x509_crl_export;
372     gnutls_x509_crl_get_crt_count;
373     gnutls_x509_crl_get_crt_serial;
374     gnutls_x509_crl_get_dn_oid;
375     gnutls_x509_crl_get_issuer_dn;
376     gnutls_x509_crl_get_issuer_dn_by_oid;
377     gnutls_x509_crl_get_next_update;
378     gnutls_x509_crl_get_signature;
379     gnutls_x509_crl_get_signature_algorithm;
380     gnutls_x509_crl_get_this_update;
381     gnutls_x509_crl_get_version;
382     gnutls_x509_crl_import;
383     gnutls_x509_crl_init;
384     gnutls_x509_crl_print;
385     gnutls_x509_crl_set_crt;
386     gnutls_x509_crl_set_crt_serial;
387     gnutls_x509_crl_set_next_update;
388     gnutls_x509_crl_set_this_update;
389     gnutls_x509_crl_set_version;
390     gnutls_x509_crl_sign2;
391     gnutls_x509_crl_sign;
392     gnutls_x509_crl_verify;
393     gnutls_x509_crq_deinit;
394     gnutls_x509_crq_export;
395     gnutls_x509_crq_get_attribute_by_oid;
396     gnutls_x509_crq_get_challenge_password;
397     gnutls_x509_crq_get_dn;
398     gnutls_x509_crq_get_dn_by_oid;
399     gnutls_x509_crq_get_dn_oid;
400     gnutls_x509_crq_get_pk_algorithm;
401     gnutls_x509_crq_get_version;
402     gnutls_x509_crq_import;
403     gnutls_x509_crq_init;
404     gnutls_x509_crq_set_attribute_by_oid;
405     gnutls_x509_crq_set_challenge_password;
406     gnutls_x509_crq_set_dn_by_oid;
407     gnutls_x509_crq_set_key;
408     gnutls_x509_crq_set_key_rsa_raw;
409     gnutls_x509_crq_set_version;
410     gnutls_x509_crq_sign2;
411     gnutls_x509_crq_sign;
412     gnutls_x509_crt_check_hostname;
413     gnutls_x509_crt_check_issuer;
414     gnutls_x509_crt_check_revocation;
415     gnutls_x509_crt_cpy_crl_dist_points;
416     gnutls_x509_crt_deinit;
417     gnutls_x509_crt_export;
418     gnutls_x509_crt_get_activation_time;
419     gnutls_x509_crt_get_authority_key_id;
420     gnutls_x509_crt_get_basic_constraints;
421     gnutls_x509_crt_get_ca_status;
422     gnutls_x509_crt_get_crl_dist_points;
423     gnutls_x509_crt_get_dn;
424     gnutls_x509_crt_get_dn_by_oid;
425     gnutls_x509_crt_get_dn_oid;
426     gnutls_x509_crt_get_expiration_time;
427     gnutls_x509_crt_get_extension_by_oid;
428     gnutls_x509_crt_get_extension_data;
429     gnutls_x509_crt_get_extension_info;
430     gnutls_x509_crt_get_extension_oid;
431     gnutls_x509_crt_get_fingerprint;
432     gnutls_x509_crt_get_issuer;
433     gnutls_x509_crt_get_issuer_dn;
434     gnutls_x509_crt_get_issuer_dn_by_oid;
435     gnutls_x509_crt_get_issuer_dn_oid;
436     gnutls_x509_crt_get_issuer_unique_id;
437     gnutls_x509_crt_get_key_id;
438     gnutls_x509_crt_get_key_purpose_oid;
439     gnutls_x509_crt_get_key_usage;
440     gnutls_x509_crt_get_pk_algorithm;
441     gnutls_x509_crt_get_pk_dsa_raw;
442     gnutls_x509_crt_get_pk_rsa_raw;
443     gnutls_x509_crt_get_proxy;
444     gnutls_x509_crt_get_raw_dn;
445     gnutls_x509_crt_get_raw_issuer_dn;
446     gnutls_x509_crt_get_serial;
447     gnutls_x509_crt_get_signature;
448     gnutls_x509_crt_get_signature_algorithm;
449     gnutls_x509_crt_get_subject;
450     gnutls_x509_crt_get_subject_alt_name2;
451     gnutls_x509_crt_get_subject_alt_name;
452     gnutls_x509_crt_get_subject_alt_othername_oid;
453     gnutls_x509_crt_get_subject_key_id;
454     gnutls_x509_crt_get_subject_unique_id;
455     gnutls_x509_crt_get_version;
456     gnutls_x509_crt_import;
457     gnutls_x509_crt_init;
458     gnutls_x509_crt_list_import;
459     gnutls_x509_crt_list_verify;
460     gnutls_x509_crt_print;
461     gnutls_x509_crt_set_activation_time;
462     gnutls_x509_crt_set_authority_key_id;
463     gnutls_x509_crt_set_basic_constraints;
464     gnutls_x509_crt_set_ca_status;
465     gnutls_x509_crt_set_crl_dist_points2;
466     gnutls_x509_crt_set_crl_dist_points;
467     gnutls_x509_crt_set_crq;
468     gnutls_x509_crt_set_dn_by_oid;
469     gnutls_x509_crt_set_expiration_time;
470     gnutls_x509_crt_set_extension_by_oid;
471     gnutls_x509_crt_set_issuer_dn_by_oid;
472     gnutls_x509_crt_set_key;
473     gnutls_x509_crt_set_key_purpose_oid;
474     gnutls_x509_crt_set_key_usage;
475     gnutls_x509_crt_set_proxy;
476     gnutls_x509_crt_set_proxy_dn;
477     gnutls_x509_crt_set_serial;
478     gnutls_x509_crt_set_subject_alt_name;
479     gnutls_x509_crt_set_subject_alternative_name;
480     gnutls_x509_crt_set_subject_key_id;
481     gnutls_x509_crt_set_version;
482     gnutls_x509_crt_sign2;
483     gnutls_x509_crt_sign;
484     gnutls_x509_crt_verify;
485     gnutls_x509_crt_verify_data;
486     gnutls_x509_dn_deinit;
487     gnutls_x509_dn_export;
488     gnutls_x509_dn_get_rdn_ava;
489     gnutls_x509_dn_import;
490     gnutls_x509_dn_init;
491     gnutls_x509_dn_oid_known;
492     gnutls_x509_privkey_cpy;
493     gnutls_x509_privkey_deinit;
494     gnutls_x509_privkey_export;
495     gnutls_x509_privkey_export_dsa_raw;
496     gnutls_x509_privkey_export_pkcs8;
497     gnutls_x509_privkey_export_rsa_raw;
498     gnutls_x509_privkey_fix;
499     gnutls_x509_privkey_generate;
500     gnutls_x509_privkey_get_key_id;
501     gnutls_x509_privkey_get_pk_algorithm;
502     gnutls_x509_privkey_import;
503     gnutls_x509_privkey_import_dsa_raw;
504     gnutls_x509_privkey_import_pkcs8;
505     gnutls_x509_privkey_import_rsa_raw;
506     gnutls_x509_privkey_init;
507     gnutls_x509_privkey_sign_data;
508     gnutls_x509_privkey_sign_hash;
509     gnutls_x509_rdn_get;
510     gnutls_x509_rdn_get_by_oid;
511     gnutls_x509_rdn_get_oid;
512
513   local:
514     *;
515 };
516
517 GNUTLS_2_8
518 {
519   global:
520     gnutls_certificate_set_x509_simple_pkcs12_mem;
521     gnutls_x509_crl_get_authority_key_id;
522     gnutls_x509_crl_get_extension_data;
523     gnutls_x509_crl_get_extension_info;
524     gnutls_x509_crl_get_extension_oid;
525     gnutls_x509_crl_get_number;
526     gnutls_x509_crl_set_authority_key_id;
527     gnutls_x509_crl_set_number;
528     gnutls_x509_crq_get_attribute_data;
529     gnutls_x509_crq_get_attribute_info;
530     gnutls_x509_crq_get_basic_constraints;
531     gnutls_x509_crq_get_extension_by_oid;
532     gnutls_x509_crq_get_extension_data;
533     gnutls_x509_crq_get_extension_info;
534     gnutls_x509_crq_get_key_id;
535     gnutls_x509_crq_get_key_purpose_oid;
536     gnutls_x509_crq_get_key_rsa_raw;
537     gnutls_x509_crq_get_key_usage;
538     gnutls_x509_crq_get_subject_alt_name;
539     gnutls_x509_crq_get_subject_alt_othername_oid;
540     gnutls_x509_crq_print;
541     gnutls_x509_crq_set_basic_constraints;
542     gnutls_x509_crq_set_key_purpose_oid;
543     gnutls_x509_crq_set_key_usage;
544     gnutls_x509_crq_set_subject_alt_name;
545     gnutls_x509_crt_get_verify_algorithm;
546     gnutls_x509_crt_set_crq_extensions;
547     gnutls_x509_crt_verify_hash;
548     gnutls_session_ticket_key_generate;
549     gnutls_session_ticket_enable_client;
550     gnutls_session_ticket_enable_server;
551 } GNUTLS_1_4;
552
553 GNUTLS_2_10
554 {
555   global:
556     gnutls_x509_crt_get_issuer_alt_name2;
557     gnutls_x509_crt_get_issuer_alt_name;
558     gnutls_x509_crt_get_issuer_alt_othername_oid;
559     gnutls_sign_algorithm_get_requested;
560     gnutls_cipher_init;
561     gnutls_cipher_encrypt;
562     gnutls_cipher_decrypt;
563     gnutls_cipher_deinit;
564     gnutls_cipher_get_block_size;
565     gnutls_hash_init;
566     gnutls_hash_get_len;
567     gnutls_hash;
568     gnutls_hash_fast;
569     gnutls_hash_deinit;
570     gnutls_hash_output;
571     gnutls_hmac_init;
572     gnutls_hmac_get_len;
573     gnutls_hmac;
574     gnutls_hmac_fast;
575     gnutls_hmac_deinit;
576     gnutls_hmac_output;
577     gnutls_certificate_set_verify_function;
578     gnutls_safe_renegotiation_status;
579 } GNUTLS_2_8;
580
581 GNUTLS_2_12
582 {
583   global:
584         gnutls_certificate_set_retrieve_function;
585         gnutls_pkcs11_init;
586         gnutls_pkcs11_deinit;
587         gnutls_pkcs11_set_pin_function;
588         gnutls_pkcs11_set_token_function;
589         gnutls_pkcs11_add_provider;
590         gnutls_pkcs11_obj_init;
591         gnutls_pkcs11_obj_import_url;
592         gnutls_pkcs11_obj_export_url;
593         gnutls_pkcs11_obj_deinit;
594         gnutls_pkcs11_obj_list_import_url;
595         gnutls_x509_crt_import_pkcs11;
596         gnutls_pkcs11_obj_get_type;
597         gnutls_x509_crt_list_import_pkcs11;
598         gnutls_x509_crt_import_pkcs11_url;
599         gnutls_pkcs11_obj_get_info;
600         gnutls_pkcs11_token_get_info;
601         gnutls_pkcs11_token_get_url;
602         gnutls_pkcs11_privkey_init;
603         gnutls_pkcs11_privkey_deinit;
604         gnutls_pkcs11_privkey_get_pk_algorithm;
605         gnutls_pkcs11_privkey_get_info;
606         gnutls_pkcs11_privkey_import_url;
607         gnutls_pkcs11_obj_export;
608         gnutls_pkcs11_type_get_name;
609         gnutls_privkey_init;
610         gnutls_privkey_deinit;
611         gnutls_privkey_get_pk_algorithm;
612         gnutls_privkey_get_type;
613         gnutls_privkey_import_pkcs11;
614         gnutls_privkey_import_x509;
615         gnutls_privkey_import_openpgp;
616         gnutls_privkey_decrypt_data;
617         gnutls_pkcs11_privkey_export_url;
618         gnutls_x509_crq_privkey_sign;
619         gnutls_x509_crl_privkey_sign;
620         gnutls_x509_crt_privkey_sign;
621         gnutls_pubkey_init;
622         gnutls_pubkey_deinit;
623         gnutls_pubkey_get_pk_algorithm;
624         gnutls_pubkey_import_x509;
625         gnutls_pubkey_import_openpgp;
626         gnutls_pubkey_get_pk_rsa_raw;
627         gnutls_pubkey_get_pk_dsa_raw;
628         gnutls_pubkey_export;
629         gnutls_pubkey_get_key_id;
630         gnutls_pubkey_get_key_usage;
631         gnutls_pubkey_import_pkcs11;
632         gnutls_pubkey_import_dsa_raw;
633         gnutls_pubkey_import_rsa_raw;
634         gnutls_pubkey_import_pkcs11_url;
635         gnutls_pubkey_get_verify_algorithm;
636         gnutls_pubkey_verify_hash;
637         gnutls_pkcs11_obj_export;
638         gnutls_pubkey_import;
639         gnutls_x509_crt_set_pubkey;
640         gnutls_x509_crq_set_pubkey;
641         gnutls_pkcs11_copy_x509_crt;
642         gnutls_pkcs11_copy_x509_privkey;
643         gnutls_pkcs11_delete_url;
644         gnutls_x509_privkey_export_rsa_raw2;
645         gnutls_pubkey_get_preferred_hash_algorithm;
646         gnutls_x509_crt_get_preferred_hash_algorithm;
647         gnutls_global_set_mutex;
648         gnutls_transport_set_vec_push_function;
649         gnutls_transport_set_errno_function;
650         gnutls_sec_param_to_pk_bits;
651         gnutls_sec_param_get_name;
652         gnutls_pk_bits_to_sec_param;
653         gnutls_rnd;
654         gnutls_cipher_encrypt2;
655         gnutls_cipher_decrypt2;
656         gnutls_openpgp_privkey_sec_param;
657         gnutls_x509_privkey_sec_param;
658         gnutls_session_channel_binding;
659         gnutls_pkcs11_copy_secret_key;
660         gnutls_pkcs11_token_init;
661         gnutls_pkcs11_token_set_pin;
662         gnutls_pkcs11_token_get_mechanism;
663         gnutls_privkey_sign_hash;
664         gnutls_privkey_sign_data;
665         gnutls_openpgp_crt_verify_hash;
666         gnutls_pubkey_import_privkey;
667         gnutls_pubkey_verify_data;
668         gnutls_certificate_get_issuer;
669         gnutls_x509_crq_verify;
670         gnutls_global_set_time_function;
671 } GNUTLS_2_10;
672
673 GNUTLS_3_0_0 {
674   global:
675         gnutls_x509_trust_list_verify_crt;
676         gnutls_x509_trust_list_add_crls;
677         gnutls_x509_trust_list_add_cas;
678         gnutls_x509_trust_list_init;
679         gnutls_x509_trust_list_deinit;
680         gnutls_x509_crl_list_import;
681         gnutls_x509_crl_list_import2;
682         gnutls_x509_crt_list_import2;
683         gnutls_cipher_tag;
684         gnutls_cipher_add_auth;
685         gnutls_dtls_set_timeouts;
686         gnutls_transport_set_pull_timeout_function;
687         gnutls_dtls_get_mtu;
688         gnutls_dtls_set_mtu;
689         gnutls_record_recv_seq;
690         gnutls_key_generate;
691         gnutls_dtls_cookie_verify;
692         gnutls_dtls_cookie_send;
693         gnutls_dtls_prestate_set;
694         gnutls_dtls_get_data_mtu;
695         gnutls_cipher_set_iv;
696         gnutls_pcert_deinit;
697         gnutls_pcert_import_x509;
698         gnutls_pcert_import_x509_raw;
699         gnutls_pcert_import_openpgp;
700         gnutls_pcert_import_openpgp_raw;
701         gnutls_pubkey_get_openpgp_key_id;
702         gnutls_certificate_set_retrieve_function2;
703         gnutls_x509_trust_list_get_issuer;
704         gnutls_global_set_audit_log_function;
705         gnutls_ecc_curve_get_name;
706         gnutls_ecc_curve_get_size;
707         gnutls_ecc_curve_get;
708         gnutls_pubkey_get_pk_ecc_raw;
709         gnutls_x509_privkey_export_ecc_raw;
710         gnutls_x509_privkey_import_ecc_raw;
711         gnutls_pubkey_verify_data2;
712         gnutls_x509_trust_list_verify_named_crt;
713         gnutls_x509_trust_list_add_named_crt;
714         gnutls_alert_get_strname;
715         gnutls_pcert_list_import_x509_raw;
716         gnutls_pkcs11_privkey_generate;
717         gnutls_pubkey_import_ecc_raw;
718         gnutls_pubkey_import_ecc_raw2;
719         gnutls_record_get_discarded;
720         gnutls_x509_crt_get_authority_info_access;
721         gnutls_privkey_import_ext;
722         gnutls_certificate_set_key;
723         gnutls_srp_3072_group_generator;
724         gnutls_srp_3072_group_prime;
725         gnutls_srp_4096_group_generator;
726         gnutls_srp_4096_group_prime;
727 } GNUTLS_2_12;
728
729 GNUTLS_PRIVATE {
730   global:
731     # Internal symbols needed by libgnutls-extra:
732     gnutls_crypto_single_mac_register;
733     gnutls_crypto_single_digest_register;
734     _gnutls_log_level;
735     _gnutls_write_uint24;
736     _gnutls_log;
737     _gnutls_PRF;
738     _gnutls_send_int;
739     _gnutls_read_uint24;
740     _gnutls_get_cred;
741     _gnutls_recv_int;
742     # Internal symbols needed by libgnutls-openssl:
743     _gnutls_pkix1_asn;
744     _gnutls_x509_parse_dn_oid;
745     _gnutls_hash_fast;
746     _gnutls_asn2err;
747     _gnutls_hash_init;
748     _gnutls_hash_deinit;
749     _gnutls_hash;
750     _gnutls_ext_get_session_data;
751     _gnutls_ext_set_session_data;
752     _gnutls_ext_register;
753     _gnutls_buffer_append_prefix;
754     _gnutls_buffer_append_data_prefix;
755     _gnutls_buffer_pop_data;
756     _gnutls_buffer_pop_prefix;
757
758     # Internal symbols needed by psktool:
759
760     # Internal symbols needed by gnutls-cli-debug:
761     _gnutls_rsa_pms_set_version;
762     _gnutls_record_set_default_version;
763     _gnutls_record_set_default_version;
764     # Internal symbols needed by tests/gc:
765     _gnutls_hmac_fast;
766     _gnutls_pbkdf2_sha1;
767     # Internal symbols needed by tests/mpi:
768     _gnutls_mpi_ops;
769     _gnutls_mpi_randomize;
770     _gnutls_mpi_log;
771     _gnutls_mpi_release;
772     # Internal symbols needed by tests/pkcs12_s2k:
773     _gnutls_pkcs12_string_to_key;
774     _gnutls_bin2hex;
775 };