MOS Source Code
Loading...
Searching...
No Matches
cmdline.hpp File Reference
#include <mos/string.hpp>
#include <mos/types.hpp>
#include <mos/vector.hpp>
Include dependency graph for cmdline.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool cmdline_parse_inplace (char *inbuf, size_t length, size_t cmdline_max, size_t *cmdlines_count, const char **cmdlines)
const char ** cmdline_parse (char *inbuf, size_t length, const char **inargv, size_t *out_count)
mos::vector< mos::stringcmdline_parse_vector (char *inbuf, size_t length)
void string_unquote (char *str)

Function Documentation

◆ cmdline_parse_inplace()

◆ cmdline_parse()

const char ** cmdline_parse ( char * inbuf,
size_t length,
const char ** inargv,
size_t * out_count )

Definition at line 100 of file cmdline.cpp.

Referenced by cmdline_parse_vector().

Here is the call graph for this function:

◆ cmdline_parse_vector()

mos::vector< mos::string > cmdline_parse_vector ( char * inbuf,
size_t length )

Definition at line 107 of file cmdline.cpp.

Referenced by MOS_SETUP().

Here is the call graph for this function:

◆ string_unquote()

void string_unquote ( char * str)

Definition at line 121 of file cmdline.cpp.

Referenced by MOS_SETUP().

Here is the call graph for this function: