NeoMutt  2021-02-05-666-ge300cd
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 
33 struct MbTable
34 {
35  char *orig_str;
36  int len;
37  char **chars;
38  char *segmented_str;
39 };
40 
41 void mbtable_free (struct MbTable **table);
42 struct MbTable *mbtable_parse(const char *str);
43 
44 #endif /* MUTT_CONFIG_MBTABLE_H */
char ** chars
The array of multibyte character strings.
Definition: mbtable.h:37
struct MbTable * mbtable_parse(const char *str)
Parse a multibyte string into a table.
Definition: mbtable.c:49
multibyte character table
Definition: mbtable.h:33
void mbtable_free(struct MbTable **table)
Free an MbTable object.
Definition: mbtable.c:281
char * orig_str
Original string used to generate this object.
Definition: mbtable.h:35
int len
Number of characters.
Definition: mbtable.h:36
char * segmented_str
Each chars entry points inside this string.
Definition: mbtable.h:38