-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.h
More file actions
30 lines (23 loc) · 691 Bytes
/
setup.h
File metadata and controls
30 lines (23 loc) · 691 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
29
30
/*
* Copyright (c) 2009-2025 amded workers, All rights reserved.
* Terms for redistribution and use can be found in LICENCE.
*/
/**
* @file setup.h
* @brief API for amded's configurable setup
*/
#ifndef INC_SETUP_H
#define INC_SETUP_H
#include <cstdint>
#include <map>
#include <vector>
#include "value.h"
void add_tag(enum tag_id, const Value&);
void set_opt(uint32_t);
bool get_opt(uint32_t);
void unset_only_tag_delete(void);
bool only_tag_delete(void);
extern std::map< enum file_type, std::vector< enum tag_impl > > read_map;
extern std::map< enum file_type, std::vector< enum tag_impl > > write_map;
extern std::map< enum tag_id, Value > newtags;
#endif /* INC_SETUP_H */