YAZ
5.34.0
|
ProximityUnit map to/from string. More...
Go to the source code of this file.
Functions | |
const char * | z_ProxUnit_to_str (int u) |
converts prox unit integer to string More... | |
int | z_str_to_ProxUnit (const char *str) |
converts unit name string to unit integer More... | |
Variables | |
static const char * | units [] |
ProximityUnit map to/from string.
Definition in file proxunit.c.
const char* z_ProxUnit_to_str | ( | int | u | ) |
converts prox unit integer to string
u | unit |
Definition at line 33 of file proxunit.c.
References units, Z_ProxUnit_byte, and Z_ProxUnit_character.
Referenced by yaz_prox_unit_name().
int z_str_to_ProxUnit | ( | const char * | str | ) |
converts unit name string to unit integer
str | unit name |
Definition at line 40 of file proxunit.c.
References units, and Z_ProxUnit_byte.
Referenced by cql_pr_prox().
|
static |
Definition at line 18 of file proxunit.c.
Referenced by z_ProxUnit_to_str(), and z_str_to_ProxUnit().