]> git.ipfire.org Git - people/ms/libloc.git/blame - src/libloc.sym
python: Extend bindings for countries
[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;
30ac38a1 29
a5db3e49 30 # AS
63e2ce17 31 loc_as_cmp;
a5db3e49
MT
32 loc_as_get_name;
33 loc_as_get_number;
34 loc_as_new;
35 loc_as_ref;
36 loc_as_set_name;
37 loc_as_unref;
38
ec684c1a 39 # Country
af208e26 40 loc_country_cmp;
ec684c1a
MT
41 loc_country_get_code;
42 loc_country_get_continent_code;
43 loc_country_get_name;
44 loc_country_new;
45 loc_country_ref;
46 loc_country_set_continent_code;
47 loc_country_set_name;
48 loc_country_unref;
49
2601e83e 50 # Database
a5db3e49
MT
51 loc_database_add_as;
52 loc_database_count_as;
96ea74a5 53 loc_database_created_at;
c182393f 54 loc_database_get_as;
ec684c1a 55 loc_database_get_country;
2601e83e 56 loc_database_get_description;
4bf49d00 57 loc_database_get_license;
2601e83e 58 loc_database_get_vendor;
2a30e4de
MT
59 loc_database_lookup;
60 loc_database_lookup_from_string;
2601e83e 61 loc_database_new;
2601e83e 62 loc_database_ref;
2601e83e 63 loc_database_unref;
2601e83e 64
d3d8ede6
MT
65 # Database Enumerator
66 loc_database_enumerator_new;
67 loc_database_enumerator_next_as;
e3f696c1 68 loc_database_enumerator_next_network;
d3d8ede6 69 loc_database_enumerator_ref;
82910b95 70 loc_database_enumerator_set_asn;
35bb3a32 71 loc_database_enumerator_set_country_code;
d3d8ede6
MT
72 loc_database_enumerator_set_string;
73 loc_database_enumerator_unref;
74
3b5f4af2 75 # Network
71ff3e69 76 loc_network_get_asn;
3b5f4af2 77 loc_network_get_country_code;
a99e7c2b 78 loc_network_has_flag;
82910b95 79 loc_network_match_asn;
e3f696c1 80 loc_network_match_country_code;
a99e7c2b 81 loc_network_match_flag;
3b5f4af2
MT
82 loc_network_new;
83 loc_network_new_from_string;
31edab76 84 loc_network_ref;
71ff3e69 85 loc_network_set_asn;
3b5f4af2 86 loc_network_set_country_code;
a99e7c2b 87 loc_network_set_flag;
39967361 88 loc_network_str;
3b5f4af2
MT
89 loc_network_unref;
90
c182393f
MT
91 # Writer
92 loc_writer_add_as;
ec684c1a 93 loc_writer_add_country;
3b5f4af2 94 loc_writer_add_network;
c182393f 95 loc_writer_get_description;
4bf49d00 96 loc_writer_get_license;
c182393f
MT
97 loc_writer_get_vendor;
98 loc_writer_new;
99 loc_writer_ref;
100 loc_writer_set_description;
4bf49d00 101 loc_writer_set_license;
c182393f
MT
102 loc_writer_set_vendor;
103 loc_writer_unref;
104 loc_writer_write;
46aded9a
MT
105local:
106 *;
107};