Skip to Content
[CAIDA - Center for Applied Internet Data Analysis logo]
The Center for Applied Internet Data Analysis
corsaro_geo_provider Struct Reference

Structure which represents a geolocation provider. More...

Collaboration diagram for corsaro_geo_provider:

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_datastructureds
 The datastructure that will be used to perform pfx => record lookups. More...
 
corsaro_geo_record_trecords
 The list of records which contain the results of geolocation using this provider. More...
 

Detailed Description

Structure which represents a geolocation provider.

Definition at line 137 of file corsaro_geo.h.

Member Function Documentation

corsaro_geo_provider::khash_t ( corsaro_geo_rechash  )

A hash of id => record for all allocated records of this provider.

Field Documentation

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().


The documentation for this struct was generated from the following file: