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