|
PatchworkOS
|
#include "argsplit.h"Go to the source code of this file.
Functions | |
| bool | _argsplit_step_state (_argsplit_state_t *state) |
| uint64_t | _argsplit_count_chars_and_args (const char *str, uint64_t *argc, uint64_t *totalChars, uint64_t maxLen) |
| const char ** | _argsplit_backend (const char **argv, const char *str, uint64_t argc, uint64_t maxLen) |
| const char ** _argsplit_backend | ( | const char ** | argv, |
| const char * | str, | ||
| uint64_t | argc, | ||
| uint64_t | maxLen | ||
| ) |
Definition at line 100 of file argsplit.c.
References _ARGSPLIT_CREATE, _argsplit_step_state(), _argsplit_state_t::current, _argsplit_state_t::escaped, _argsplit_state_t::inQuote, _argsplit_state_t::isNewArg, and NULL.
Referenced by argsplit(), and argsplit_buf().
| uint64_t _argsplit_count_chars_and_args | ( | const char * | str, |
| uint64_t * | argc, | ||
| uint64_t * | totalChars, | ||
| uint64_t | maxLen | ||
| ) |
Definition at line 72 of file argsplit.c.
References _ARGSPLIT_CREATE, _argsplit_step_state(), _argsplit_state_t::escaped, _argsplit_state_t::inQuote, _argsplit_state_t::isNewArg, and UINT64_MAX.
Referenced by argsplit(), and argsplit_buf().
| bool _argsplit_step_state | ( | _argsplit_state_t * | state | ) |
Definition at line 3 of file argsplit.c.
References _argsplit_state_t::current, _argsplit_state_t::escaped, _argsplit_state_t::inQuote, _argsplit_state_t::isFirst, _argsplit_state_t::isNewArg, isspace(), _argsplit_state_t::maxLen, and _argsplit_state_t::processedChars.
Referenced by _argsplit_backend(), and _argsplit_count_chars_and_args().