1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
/* -*-c-*- */
#ifndef FVWMLIB_CHARMAP_H
#define FVWMLIB_CHARMAP_H
/* ---------------------------- included header files ---------------------- */
/* ---------------------------- global definitions ------------------------- */
/* ---------------------------- global macros ------------------------------ */
/* ---------------------------- type definitions --------------------------- */
typedef struct
{
char key;
int value;
} charmap_t;
/* ---------------------------- forward declarations ----------------------- */
/* ---------------------------- exported variables (globals) --------------- */
/* ---------------------------- interface functions ------------------------ */
int charmap_string_to_mask(
int *ret, const char *string, charmap_t *table, char *errstring);
char charmap_mask_to_char(int mask, charmap_t *table);
char *charmap_table_to_string(int mask, charmap_t *table);
#endif /* FVWMLIB_CHARMAP_H */
|