-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcmdline.h
More file actions
28 lines (22 loc) · 707 Bytes
/
cmdline.h
File metadata and controls
28 lines (22 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
* Copyright (c) 2013-2025 amded workers, All rights reserved.
* Terms for redistribution and use can be found in LICENCE.
*/
/**
* @file cmdline.h
* @brief API for command line argument processing
*/
#ifndef INC_CMDLINE_H
#define INC_CMDLINE_H
#include <string>
#include "amded.h"
#include "value.h"
std::pair<std::string, std::string> tag_arg_to_pair(std::string);
enum tag_id tag_to_id(const std::string&);
enum tag_type tag_to_type(const std::string&);
Value tag_value_from_value(enum tag_type, const std::string&);
void list_tags(void);
void setup_readmap(const std::string&);
void setup_writemap(const std::string&);
void amded_parameters(const std::string&);
#endif /* INC_CMDLINE_H */