MLT
7.28.0
|
string tokeniser More...
Functions | |
static int | mlt_tokeniser_append (mlt_tokeniser tokeniser, char *token) |
Append a string to the tokeniser. More... | |
static void | mlt_tokeniser_clear (mlt_tokeniser tokeniser) |
Clear the tokeniser. More... | |
void | mlt_tokeniser_close (mlt_tokeniser tokeniser) |
Close the tokeniser. More... | |
int | mlt_tokeniser_count (mlt_tokeniser tokeniser) |
Get the number of tokens. More... | |
char * | mlt_tokeniser_get_input (mlt_tokeniser tokeniser) |
Get the original input. More... | |
char * | mlt_tokeniser_get_string (mlt_tokeniser tokeniser, int index) |
Get a token as a string. More... | |
mlt_tokeniser | mlt_tokeniser_init () |
Initialise a tokeniser. More... | |
int | mlt_tokeniser_parse_new (mlt_tokeniser tokeniser, char *string, const char *delimiter) |
Parse a string by splitting on the delimiter provided. More... | |
string tokeniser
Copyright (C) 2002-2014 Meltytech, LLC
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
static |
Append a string to the tokeniser.
|
static |
Clear the tokeniser.
void mlt_tokeniser_close | ( | mlt_tokeniser | tokeniser | ) |
Close the tokeniser.
int mlt_tokeniser_count | ( | mlt_tokeniser | tokeniser | ) |
Get the number of tokens.
char* mlt_tokeniser_get_input | ( | mlt_tokeniser | tokeniser | ) |
Get the original input.
char* mlt_tokeniser_get_string | ( | mlt_tokeniser | tokeniser, |
int | index | ||
) |
Get a token as a string.
mlt_tokeniser mlt_tokeniser_init | ( | ) |
Initialise a tokeniser.
int mlt_tokeniser_parse_new | ( | mlt_tokeniser | tokeniser, |
char * | string, | ||
const char * | delimiter | ||
) |
Parse a string by splitting on the delimiter provided.