mbgtools-lx  4.2.8
ctry.c File Reference
#include <ctry.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>

Go to the source code of this file.

Macros

#define _CTRY
 

Functions

int lstr_idx (CLSTR s, int lng)
 
int lstr_array_idx (CLSTR s, int idx, int n_lng, int lng)
 
const char * lstr_lng (CLSTR s, int lng)
 
void ctry_setup (CTRY_CODE code)
 
void ctry_next (void)
 
const char * clstr_lng (int index,...)
 

Macro Definition Documentation

◆ _CTRY

#define _CTRY

Definition at line 38 of file ctry.c.

Function Documentation

◆ clstr_lng()

const char* clstr_lng ( int  index,
  ... 
)

Definition at line 155 of file ctry.c.

◆ ctry_next()

void ctry_next ( void  )

Definition at line 132 of file ctry.c.

References CTRY::code, ctry, CTRY_GERMANY, ctry_setup(), CTRY_UK, and CTRY_US.

◆ ctry_setup()

◆ lstr_array_idx()

int lstr_array_idx ( CLSTR  s,
int  idx,
int  n_lng,
int  lng 
)

Definition at line 73 of file ctry.c.

References mbg_database::idx, and lstr_idx().

◆ lstr_idx()

int lstr_idx ( CLSTR  s,
int  lng 
)

Definition at line 51 of file ctry.c.

References N_LNG.

Referenced by lstr_array_idx(), and lstr_lng().

◆ lstr_lng()

const char* lstr_lng ( CLSTR  s,
int  lng 
)

Definition at line 83 of file ctry.c.

References lstr_idx().