Better colors in Form Setup
[fvwm.git] / libs / charmap.h
blob217e870f30aeedb2cab8be6127747f2b0372bbba
1 /* -*-c-*- */
3 #ifndef CHARMAP_H
4 #define CHARMAP_H
6 /* ---------------------------- included header files ---------------------- */
8 /* ---------------------------- global definitions ------------------------- */
10 /* ---------------------------- global macros ------------------------------ */
12 /* ---------------------------- type definitions --------------------------- */
14 typedef struct
16 char key;
17 int value;
18 } charmap_t;
20 /* ---------------------------- forward declarations ----------------------- */
22 /* ---------------------------- exported variables (globals) --------------- */
24 /* ---------------------------- interface functions ------------------------ */
26 int charmap_string_to_mask(
27 int *ret, const char *string, charmap_t *table, char *errstring);
28 char charmap_mask_to_char(int mask, charmap_t *table);
30 char *charmap_table_to_string(int mask, charmap_t *table);
32 #endif /* CHARMAP_H */