23 #ifndef MLT_TOKENISER_H
24 #define MLT_TOKENISER_H
void mlt_tokeniser_close(mlt_tokeniser tokeniser)
Close the tokeniser.
Definition: mlt_tokeniser.c:162
int mlt_tokeniser_parse_new(mlt_tokeniser tokeniser, char *text, const char *delimiter)
Parse a string by splitting on the delimiter provided.
Definition: mlt_tokeniser.c:80
char * mlt_tokeniser_get_string(mlt_tokeniser tokeniser, int index)
Get a token as a string.
Definition: mlt_tokeniser.c:151
char * mlt_tokeniser_get_input(mlt_tokeniser tokeniser)
Get the original input.
Definition: mlt_tokeniser.c:135
int mlt_tokeniser_count(mlt_tokeniser tokeniser)
Get the number of tokens.
Definition: mlt_tokeniser.c:143
mlt_tokeniser mlt_tokeniser_init()
Initialise a tokeniser.
Definition: mlt_tokeniser.c:33
struct mlt_tokeniser mlt_tokeniser_t
Tokeniser class.
Definition: mlt_tokeniser.h:31
int count
Definition: mlt_tokeniser.h:34
char ** tokens
Definition: mlt_tokeniser.h:33
char * input
Definition: mlt_tokeniser.h:32
int size
Definition: mlt_tokeniser.h:35