|
librfn
An ad-hoc utility library
|
Go to the source code of this file.
Data Structures | |
| struct | rf_enumtable_t |
| Lookup table used for the conversions. More... | |
Macros | |
| #define | RF_ENUMTABLE_INITIALIZER(...) { __VA_ARGS__, RF_ENUMTABLE_TERMINATOR } |
| #define | RF_ENUM_OUT_OF_RANGE -19830927 |
| #define | RF_ENUMTABLE_TERMINATOR { NULL, 0 } |
Functions | |
| const char * | rf_enum2string (rf_enumtable_t *t, int e) |
| int | rf_string2enum (rf_enumtable_t *t, const char *s) |
1.8.10