]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - src/libloc.sym
libloc: Add function to set country code to database enumerator
[people/ms/libloc.git] / src / libloc.sym
index 47e8f69d99cdf905283b936cdccae3b95c57740d..7faa9c09260d8c3d9121f07ac1128063cc110539 100644 (file)
@@ -1,6 +1,34 @@
 LIBLOC_PRIVATE {
 global:
+       # Network Tree
+       loc_network_tree_add_network;
+       loc_network_tree_count_networks;
+       loc_network_tree_count_nodes;
+       loc_network_tree_dump;
+       loc_network_tree_new;
+       loc_network_tree_unref;
+
+       # String Pool
+       loc_stringpool_add;
+       loc_stringpool_dump;
+       loc_stringpool_get;
+       loc_stringpool_get_size;
+       loc_stringpool_new;
+       loc_stringpool_ref;
+       loc_stringpool_unref;
+};
+
+LIBLOC_1 {
+global:
+       loc_ref;
+       loc_get_log_priority;
+       loc_set_log_fn;
+       loc_unref;
+       loc_set_log_priority;
+       loc_new;
+
        # AS
+       loc_as_cmp;
        loc_as_get_name;
        loc_as_get_number;
        loc_as_new;
@@ -14,55 +42,46 @@ global:
        loc_database_created_at;
        loc_database_get_as;
        loc_database_get_description;
+       loc_database_get_license;
        loc_database_get_vendor;
+       loc_database_lookup;
+       loc_database_lookup_from_string;
        loc_database_new;
        loc_database_ref;
        loc_database_unref;
 
+       # Database Enumerator
+       loc_database_enumerator_new;
+       loc_database_enumerator_next_as;
+       loc_database_enumerator_ref;
+       loc_database_enumerator_set_country_code;
+       loc_database_enumerator_set_string;
+       loc_database_enumerator_unref;
+
        # Network
+       loc_network_get_asn;
        loc_network_get_country_code;
        loc_network_new;
        loc_network_new_from_string;
+       loc_network_ref;
+       loc_network_set_asn;
        loc_network_set_country_code;
+       loc_network_str;
        loc_network_unref;
 
-       # Network Tree
-       loc_network_tree_add_network;
-       loc_network_tree_dump;
-       loc_network_tree_new;
-       loc_network_tree_unref;
-
-       # String Pool
-       loc_stringpool_add;
-       loc_stringpool_dump;
-       loc_stringpool_get;
-       loc_stringpool_get_size;
-       loc_stringpool_new;
-       loc_stringpool_ref;
-       loc_stringpool_unref;
-
        # Writer
        loc_writer_add_as;
        loc_writer_add_network;
        loc_writer_get_description;
+       loc_writer_get_license;
        loc_writer_get_vendor;
        loc_writer_new;
        loc_writer_ref;
        loc_writer_set_description;
+       loc_writer_set_license;
        loc_writer_set_vendor;
        loc_writer_unref;
        loc_writer_write;
-};
-
-LIBLOC_1 {
-global:
-       loc_ref;
-       loc_get_log_priority;
-       loc_set_log_fn;
-       loc_unref;
-       loc_set_log_priority;
-       loc_new;
-       loc_load;
 local:
        *;
 };