Structure which represents a geolocation provider. More...

Public Member Functions | |
| khash_t (corsaro_geo_rechash)*all_records | |
| A hash of id => record for all allocated records of this provider.  More... | |
Data Fields | |
| corsaro_geo_provider_id_t | id | 
| The ID of the provider.  More... | |
| const char * | name | 
| The name of the provider.  More... | |
| struct corsaro_geo_datastructure * | ds | 
| The datastructure that will be used to perform pfx => record lookups.  More... | |
| corsaro_geo_record_t * | records | 
| The list of records which contain the results of geolocation using this provider.  More... | |
Structure which represents a geolocation provider.
Definition at line 137 of file corsaro_geo.h.
| corsaro_geo_provider::khash_t | ( | corsaro_geo_rechash | ) | 
A hash of id => record for all allocated records of this provider.
| struct corsaro_geo_datastructure* corsaro_geo_provider::ds | 
The datastructure that will be used to perform pfx => record lookups.
Definition at line 149 of file corsaro_geo.h.
Referenced by corsaro_geo_free_provider(), corsaro_geo_init_provider(), corsaro_geo_provider_associate_record(), and corsaro_geo_provider_lookup_record().
| corsaro_geo_provider_id_t corsaro_geo_provider::id | 
The ID of the provider.
Definition at line 140 of file corsaro_geo.h.
Referenced by corsaro_geo_free_provider(), and corsaro_geo_init_provider().
| const char* corsaro_geo_provider::name | 
The name of the provider.
Definition at line 143 of file corsaro_geo.h.
Referenced by corsaro_geo_get_by_name(), and corsaro_geo_init_provider().
| corsaro_geo_record_t* corsaro_geo_provider::records | 
The list of records which contain the results of geolocation using this provider.
Definition at line 153 of file corsaro_geo.h.
Referenced by corsaro_geo_init_provider(), corsaro_geo_next_record(), corsaro_geo_provider_add_record(), and corsaro_geo_provider_clear().