diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-06-16 16:52:11 +0100 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-06-16 16:52:11 +0100 |
| commit | 253c4648431d4333b29baaffb3419882bfbb31ff (patch) | |
| tree | 8973e230e6e2627dfded464e1dcade209136d814 /liblfjail/context.hh | |
| parent | 8129d0ef4629f44cd89e3b79e8b66129bb9dc866 (diff) | |
| download | lfjail-253c4648431d4333b29baaffb3419882bfbb31ff.tar.gz lfjail-253c4648431d4333b29baaffb3419882bfbb31ff.tar.bz2 | |
updatesmain
Diffstat (limited to 'liblfjail/context.hh')
| -rw-r--r-- | liblfjail/context.hh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/liblfjail/context.hh b/liblfjail/context.hh index d7aca5e..5eaed3b 100644 --- a/liblfjail/context.hh +++ b/liblfjail/context.hh @@ -5,6 +5,7 @@ #ifndef LFJAIL_CONTEXT_HH #define LFJAIL_CONTEXT_HH +#include <filesystem> #include <string> namespace lfjail { @@ -14,13 +15,10 @@ namespace lfjail { */ struct context { // Path to the database directory (-d). - std::string dbdir = LFJAIL_DBDIR; + std::filesystem::path dbdir = LFJAIL_DBDIR; // Print more detailed messages (-v). bool verbose = false; - - // Return the path for a particular file, relative to dbdir. - auto path(this context const &, std::string_view what) -> std::string; }; } // namespace lfjail |
