MOS Source Code
Loading...
Searching...
No Matches
cmdline.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-3.0-or-later
2
3#pragma once
4
5#include <mos/types.h>
6
7bool cmdline_parse_inplace(char *inbuf, size_t length, size_t cmdline_max, size_t *cmdlines_count, const char **cmdlines);
8const char **cmdline_parse(const char **inargv, char *inbuf, size_t length, size_t *out_count);
9
10void string_unquote(char *str);
bool cmdline_parse_inplace(char *inbuf, size_t length, size_t cmdline_max, size_t *cmdlines_count, const char **cmdlines)
Definition cmdline.c:93
void string_unquote(char *str)
Definition cmdline.c:107
const char ** cmdline_parse(const char **inargv, char *inbuf, size_t length, size_t *out_count)
Definition cmdline.c:98