libisdn
ISO3166.c File Reference
#include <stdio.h>
#include <strings.h>
#include "ISO3166.h"
#include "utils/common.h"

Go to the source code of this file.

Functions

int iso3166_by_id (unsigned short id, const char **code, const char **name)
int iso3166_by_code (const char *code, unsigned short *id, const char **name)

Function Documentation

int iso3166_by_code ( const char *  code,
unsigned short *  id,
const char **  name 
)

Definition at line 281 of file ISO3166.c.

References ARRAY_SIZE.

int iso3166_by_id ( unsigned short  id,
const char **  code,
const char **  name 
)

Definition at line 269 of file ISO3166.c.

References ARRAY_SIZE.


Variable Documentation

const char* code

Definition at line 18 of file ISO3166.c.

const unsigned short id

Definition at line 17 of file ISO3166.c.

const char* name

Definition at line 19 of file ISO3166.c.