2024-08-23 11:53:40 +02:00
|
|
|
/*
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
*
|
|
|
|
* Copyright (C) 2024 Thomas Kolb
|
|
|
|
*/
|
|
|
|
|
2024-03-30 21:50:54 +01:00
|
|
|
#ifndef OPTIONS_H
|
|
|
|
#define OPTIONS_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
typedef enum {
|
|
|
|
OPTIONS_FLAG_IS_CENTRAL_NODE,
|
|
|
|
} options_flag_t;
|
|
|
|
|
|
|
|
int options_parse(int argc, char **argv);
|
|
|
|
|
|
|
|
bool options_is_flag_set(options_flag_t flag);
|
|
|
|
|
|
|
|
#endif // OPTIONS_H
|