]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - src/libloc.sym
Add a dictionary with countries to the database
[people/ms/libloc.git] / src / libloc.sym
index 25fe5f5836c0c21fee2a7beb53ea876a815ea4e5..8ed931d60f4bc99ba65308198e9a7831ce649456 100644 (file)
@@ -1,5 +1,32 @@
 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;
@@ -9,61 +36,71 @@ global:
        loc_as_set_name;
        loc_as_unref;
 
+       # Country
+       loc_country_get_code;
+       loc_country_get_continent_code;
+       loc_country_get_name;
+       loc_country_new;
+       loc_country_ref;
+       loc_country_set_continent_code;
+       loc_country_set_name;
+       loc_country_unref;
+
        # Database
        loc_database_add_as;
        loc_database_count_as;
        loc_database_created_at;
        loc_database_get_as;
+       loc_database_get_country;
        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_next_network;
+       loc_database_enumerator_ref;
+       loc_database_enumerator_set_asn;
+       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_has_flag;
+       loc_network_match_asn;
+       loc_network_match_country_code;
+       loc_network_match_flag;
        loc_network_new;
        loc_network_new_from_string;
+       loc_network_ref;
+       loc_network_set_asn;
        loc_network_set_country_code;
+       loc_network_set_flag;
+       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_country;
        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:
        *;
 };