heimdal_build: Add version-script for hdb.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 17 Dec 2010 19:01:21 +0000 (20:01 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 17 Dec 2010 19:01:21 +0000 (20:01 +0100)
source4/heimdal/lib/hdb/version-script.map [new file with mode: 0644]
source4/heimdal_build/wscript_build

diff --git a/source4/heimdal/lib/hdb/version-script.map b/source4/heimdal/lib/hdb/version-script.map
new file mode 100644 (file)
index 0000000..50a36ce
--- /dev/null
@@ -0,0 +1,107 @@
+# $Id$
+
+HEIMDAL_HDB_1.0 {
+       global:
+               encode_hdb_keyset;
+               hdb_add_master_key;
+               hdb_check_db_format;
+               hdb_clear_extension;
+               hdb_clear_master_key;
+               hdb_create;
+               hdb_db_dir;
+               hdb_dbinfo_get_acl_file;
+               hdb_dbinfo_get_binding;
+               hdb_dbinfo_get_dbname;
+               hdb_dbinfo_get_label;
+               hdb_dbinfo_get_log_file;
+               hdb_dbinfo_get_mkey_file;
+               hdb_dbinfo_get_next;
+               hdb_dbinfo_get_realm;
+               hdb_default_db;
+               hdb_enctype2key;
+               hdb_entry2string;
+               hdb_entry2value;
+               hdb_entry_alias2value;
+               hdb_entry_check_mandatory;
+               hdb_entry_clear_password;
+               hdb_entry_get_ConstrainedDelegACL;
+               hdb_entry_get_aliases;
+               hdb_entry_get_password;
+               hdb_entry_get_pkinit_acl;
+               hdb_entry_get_pkinit_cert;
+               hdb_entry_get_pkinit_hash;
+               hdb_entry_get_pw_change_time;
+               hdb_entry_set_password;
+               hdb_entry_set_pw_change_time;
+               hdb_find_extension;
+               hdb_foreach;
+               hdb_free_dbinfo;
+               hdb_free_entry;
+               hdb_free_key;
+               hdb_free_keys;
+               hdb_free_master_key;
+               hdb_generate_key_set;
+               hdb_generate_key_set_password;
+               hdb_get_dbinfo;
+               hdb_init_db;
+               hdb_key2principal;
+               hdb_list_builtin;
+               hdb_lock;
+               hdb_next_enctype2key;
+               hdb_principal2key;
+               hdb_print_entry;
+               hdb_process_master_key;
+               hdb_read_master_key;
+               hdb_replace_extension;
+               hdb_seal_key;
+               hdb_seal_key_mkey;
+               hdb_seal_keys;
+               hdb_seal_keys_mkey;
+               hdb_set_master_key;
+               hdb_set_master_keyfile;
+               hdb_unlock;
+               hdb_unseal_key;
+               hdb_unseal_key_mkey;
+               hdb_unseal_keys;
+               hdb_unseal_keys_mkey;
+               hdb_value2entry;
+               hdb_value2entry_alias;
+               hdb_write_master_key;
+               length_hdb_keyset;
+               hdb_interface_version;
+               initialize_hdb_error_table_r;
+
+               hdb_kt_ops;
+
+               # some random bits needed for libkadm
+               HDBFlags2int;
+               asn1_HDBFlags_units;
+               copy_Event;
+               copy_HDB_extensions;
+               copy_Key;
+               copy_Salt;
+               decode_HDB_Ext_Aliases;
+               decode_HDB_Ext_PKINIT_acl;
+               decode_HDB_extension;
+               decode_Key;
+               encode_HDB_Ext_Aliases;
+               encode_HDB_Ext_PKINIT_acl;
+               encode_HDB_extension;
+               encode_Key;
+               free_Event;
+               free_HDB_Ext_Aliases;
+               free_HDB_Ext_PKINIT_acl;
+               free_HDB_extension;
+               free_HDB_extensions;
+               free_Key;
+               free_Salt;
+               free_hdb_entry;
+               int2HDBFlags;
+               length_HDB_Ext_Aliases;
+               length_HDB_Ext_PKINIT_acl;
+               length_HDB_extension;
+               length_Key;
+
+       local:
+               *;
+};
index 9de788c284699e0d6a8cf21de352665886cf233c..700dac509bdda058f67df088e4c52eefb2391e92 100644 (file)
@@ -549,10 +549,11 @@ HDB_SOURCE = '''lib/hdb/db.c lib/hdb/dbinfo.c lib/hdb/hdb.c
                               ../heimdal_build/hdb-glue.c'''
 
 HEIMDAL_LIBRARY('hdb',
-                    source=HDB_SOURCE,
-                    includes='../heimdal/lib/hdb',
-                    deps='krb5 HEIMDAL_HDB_KEYS roken HEIMDAL_HCRYPTO com_err HEIMDAL_HDB_ASN1 wind',
-                    vnum='11.0.2',
+    version_script='lib/hdb/version-script.map',
+    source=HDB_SOURCE,
+    includes='../heimdal/lib/hdb',
+    deps='krb5 HEIMDAL_HDB_KEYS roken HEIMDAL_HCRYPTO com_err HEIMDAL_HDB_ASN1 wind',
+    vnum='11.0.2',
     )
 HEIMDAL_AUTOPROTO('lib/hdb/hdb-protos.h', HDB_SOURCE)
 HEIMDAL_AUTOPROTO_PRIVATE('lib/hdb/hdb-private.h', HDB_SOURCE)