aboutsummaryrefslogtreecommitdiffstats
path: root/liblfjail/context.hh
blob: 5eaed3bb749a17419a73159c88ecf84a8b82ce0e (plain) (blame)
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
/*
 * This source code is released into the public domain.
 */

#ifndef	LFJAIL_CONTEXT_HH
#define	LFJAIL_CONTEXT_HH

#include <filesystem>
#include <string>

namespace lfjail {

/*
 * The runtime context.  This is mainly changed via command-line options.
 */
struct context {
	// Path to the database directory (-d).
	std::filesystem::path dbdir = LFJAIL_DBDIR;

	// Print more detailed messages (-v).
	bool verbose = false;
};

} // namespace lfjail

#endif	// !LFJAIL_CONTEXT_HH