NeoMutt  2021-02-05-89-gabe350
Teaching an old dog new tricks
DOXYGEN
mbtable.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_CONFIG_MBTABLE_H
24 #define MUTT_CONFIG_MBTABLE_H
25 
26 struct ConfigSet;
27 
35 struct MbTable
36 {
37  char *orig_str;
38  int len;
39  char **chars;
40  char *segmented_str;
41 };
42 
43 void mbtable_free (struct MbTable **table);
44 struct MbTable *mbtable_parse(const char *str);
45 
46 #endif /* MUTT_CONFIG_MBTABLE_H */
MbTable::segmented_str
char * segmented_str
Each chars entry points inside this string.
Definition: mbtable.h:40
mbtable_parse
struct MbTable * mbtable_parse(const char *str)
Parse a multibyte string into a table.
Definition: mbtable.c:49
MbTable::orig_str
char * orig_str
Original string used to generate this object.
Definition: mbtable.h:37
MbTable::len
int len
Number of characters.
Definition: mbtable.h:38
MbTable::chars
char ** chars
The array of multibyte character strings.
Definition: mbtable.h:39
mbtable_free
void mbtable_free(struct MbTable **table)
Free an MbTable object.
Definition: mbtable.c:281
ConfigSet
Container for lots of config items.
Definition: set.h:228
MbTable
multibyte character table
Definition: mbtable.h:35