]> git.ipfire.org Git - people/ms/libloc.git/blame - src/libloc.sym
Implement filtering for multiple countries in the enumerator
[people/ms/libloc.git] / src / libloc.sym
CommitLineData
62b83e6d
MT
1LIBLOC_PRIVATE {
2global:
30ac38a1
MT
3 # Network Tree
4 loc_network_tree_add_network;
5 loc_network_tree_count_networks;
6 loc_network_tree_count_nodes;
7 loc_network_tree_dump;
8 loc_network_tree_new;
9 loc_network_tree_unref;
10
11 # String Pool
12 loc_stringpool_add;
13 loc_stringpool_dump;
14 loc_stringpool_get;
15 loc_stringpool_get_size;
16 loc_stringpool_new;
17 loc_stringpool_ref;
18 loc_stringpool_unref;
19};
20
21LIBLOC_1 {
22global:
23 loc_ref;
24 loc_get_log_priority;
25 loc_set_log_fn;
26 loc_unref;
27 loc_set_log_priority;
28 loc_new;
f4fef543 29 loc_discover_latest_version;
30ac38a1 30
a5db3e49 31 # AS
63e2ce17 32 loc_as_cmp;
a5db3e49
MT
33 loc_as_get_name;
34 loc_as_get_number;
35 loc_as_new;
36 loc_as_ref;
37 loc_as_set_name;
38 loc_as_unref;
39
ec684c1a 40 # Country
af208e26 41 loc_country_cmp;
0f0829ef 42 loc_country_code_is_valid;
ec684c1a
MT
43 loc_country_get_code;
44 loc_country_get_continent_code;
45 loc_country_get_name;
46 loc_country_new;
47 loc_country_ref;
48 loc_country_set_continent_code;
49 loc_country_set_name;
50 loc_country_unref;
51
e646a8f3
MT
52 # Country List
53 loc_country_list_append;
54 loc_country_list_clear;
55 loc_country_list_contains;
56 loc_country_list_contains_code;
57 loc_country_list_empty;
58 loc_country_list_get;
59 loc_country_list_new;
60 loc_country_list_ref;
61 loc_country_list_size;
62 loc_country_list_unref;
63
2601e83e 64 # Database
a5db3e49
MT
65 loc_database_add_as;
66 loc_database_count_as;
96ea74a5 67 loc_database_created_at;
c182393f 68 loc_database_get_as;
ec684c1a 69 loc_database_get_country;
2601e83e 70 loc_database_get_description;
4bf49d00 71 loc_database_get_license;
2601e83e 72 loc_database_get_vendor;
2a30e4de
MT
73 loc_database_lookup;
74 loc_database_lookup_from_string;
2601e83e 75 loc_database_new;
2601e83e 76 loc_database_ref;
2601e83e 77 loc_database_unref;
b1720435 78 loc_database_verify;
2601e83e 79
d3d8ede6 80 # Database Enumerator
e646a8f3 81 loc_database_enumerator_get_countries;
d3d8ede6
MT
82 loc_database_enumerator_new;
83 loc_database_enumerator_next_as;
fa9a3663 84 loc_database_enumerator_next_country;
e3f696c1 85 loc_database_enumerator_next_network;
d3d8ede6 86 loc_database_enumerator_ref;
82910b95 87 loc_database_enumerator_set_asn;
e646a8f3 88 loc_database_enumerator_set_countries;
44e5ef71 89 loc_database_enumerator_set_family;
f4fef543 90 loc_database_enumerator_set_flag;
d3d8ede6
MT
91 loc_database_enumerator_set_string;
92 loc_database_enumerator_unref;
93
3b5f4af2 94 # Network
44e5ef71 95 loc_network_address_family;
850e7516
MT
96 loc_network_eq;
97 loc_network_exclude;
add5bb65 98 loc_network_exclude_list;
2b9338ea
MT
99 loc_network_format_first_address;
100 loc_network_format_last_address;
71ff3e69 101 loc_network_get_asn;
3b5f4af2 102 loc_network_get_country_code;
e0b9ff5f 103 loc_network_gt;
a99e7c2b 104 loc_network_has_flag;
33a051e0 105 loc_network_is_subnet;
43554dc4 106 loc_network_is_subnet_of;
82910b95 107 loc_network_match_asn;
e3f696c1 108 loc_network_match_country_code;
a99e7c2b 109 loc_network_match_flag;
3b5f4af2
MT
110 loc_network_new;
111 loc_network_new_from_string;
6159d384 112 loc_network_overlaps;
31edab76 113 loc_network_ref;
71ff3e69 114 loc_network_set_asn;
3b5f4af2 115 loc_network_set_country_code;
a99e7c2b 116 loc_network_set_flag;
39967361 117 loc_network_str;
850e7516 118 loc_network_subnets;
3b5f4af2
MT
119 loc_network_unref;
120
ecce288d
MT
121 # Network List
122 loc_network_list_clear;
e52ba217 123 loc_network_list_contains;
8b220527 124 loc_network_list_dump;
ecce288d
MT
125 loc_network_list_empty;
126 loc_network_list_get;
f802f3a4 127 loc_network_list_merge;
ecce288d
MT
128 loc_network_list_new;
129 loc_network_list_pop;
8d777f12 130 loc_network_list_pop_first;
ecce288d
MT
131 loc_network_list_push;
132 loc_network_list_ref;
850e7516 133 loc_network_list_reverse;
ecce288d 134 loc_network_list_size;
850e7516 135 loc_network_list_sort;
ecce288d
MT
136 loc_network_list_unref;
137
c182393f
MT
138 # Writer
139 loc_writer_add_as;
ec684c1a 140 loc_writer_add_country;
3b5f4af2 141 loc_writer_add_network;
c182393f 142 loc_writer_get_description;
4bf49d00 143 loc_writer_get_license;
c182393f
MT
144 loc_writer_get_vendor;
145 loc_writer_new;
146 loc_writer_ref;
147 loc_writer_set_description;
4bf49d00 148 loc_writer_set_license;
c182393f
MT
149 loc_writer_set_vendor;
150 loc_writer_unref;
151 loc_writer_write;
46aded9a
MT
152local:
153 *;
154};