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
7typedef struct
8{
9 const char *name;
10 const char *arg;
11 bool used;
13
15
16void mos_cmdline_init(const char *bootloader_cmdline);
17cmdline_option_t *cmdline_get_option(const char *option_name);
18bool cmdline_string_truthiness(const char *arg, bool default_value);
19
__BEGIN_DECLS void mos_cmdline_init(const char *bootloader_cmdline)
Definition cmdline.c:33
bool cmdline_string_truthiness(const char *arg, bool default_value)
Definition cmdline.c:83
cmdline_option_t * cmdline_get_option(const char *option_name)
Definition cmdline.c:21
#define __END_DECLS
Definition mos_global.h:23
#define __BEGIN_DECLS
Definition mos_global.h:22
const char * name
Definition cmdline.h:9
const char * arg
Definition cmdline.h:10