navit  0.5.3-trunk
country.c File Reference
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <glib.h>
#include "debug.h"
#include "item.h"
#include "country.h"
#include "search.h"
#include "linguistics.h"
#include "navit_nls.h"

Data Structures

struct  country
 
struct  country_search
 

Functions

static int country_attr_get (void *priv_data, enum attr_type attr_type, struct attr *attr)
 
struct country_searchcountry_search_new (struct attr *search, int partial)
 
static int match (struct country_search *this_, enum attr_type type, const char *name)
 
struct itemcountry_search_get_item (struct country_search *this_)
 
struct attrcountry_default (void)
 
void country_search_destroy (struct country_search *this_)
 

Variables

static struct country country []
 
struct item_methods country_meth
 
static struct attr country_default_attr
 
static char iso2 [3]
 

Function Documentation

◆ country_attr_get()

static int country_attr_get ( void *  priv_data,
enum attr_type  attr_type,
struct attr attr 
)
static

◆ country_default()

◆ country_search_destroy()

◆ country_search_get_item()

◆ country_search_new()

◆ match()

Variable Documentation

◆ country

◆ country_default_attr

struct attr country_default_attr
static

Referenced by country_default().

◆ country_meth

struct item_methods country_meth
Initial value:
= {
NULL,
NULL,
NULL,
}
static int country_attr_get(void *priv_data, enum attr_type attr_type, struct attr *attr)
Definition: country.c:307

Referenced by country_search_new().

◆ iso2

char iso2[3]
static