diff options
| author | Per Larsson <[email protected]> | 2021-12-14 12:34:47 +0100 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-12-14 12:34:47 +0100 |
| commit | b6c6568e1618f10d2160d836b65e35586e3c740f (patch) | |
| tree | f6a929cf918850bbba87d0ee67cd3482b2d50e24 /zenserver/config.h | |
| parent | Fixed bug in z$ service returning partial cache records and enable small obje... (diff) | |
| parent | Partial revert b363c5b (diff) | |
| download | zen-b6c6568e1618f10d2160d836b65e35586e3c740f.tar.xz zen-b6c6568e1618f10d2160d836b65e35586e3c740f.zip | |
Merged main.
Diffstat (limited to 'zenserver/config.h')
| -rw-r--r-- | zenserver/config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/zenserver/config.h b/zenserver/config.h index 8a507df39..60e9976e0 100644 --- a/zenserver/config.h +++ b/zenserver/config.h @@ -2,8 +2,10 @@ #pragma once +#include <zencore/zencore.h> #include <filesystem> #include <string> +#include <vector> #ifndef ZEN_ENABLE_MESH # define ZEN_ENABLE_MESH 0 @@ -17,6 +19,10 @@ # define ZEN_USE_EXEC 0 #endif +#ifndef ZEN_WITH_TRACE +# define ZEN_WITH_TRACE 0 +#endif + struct ZenUpstreamJupiterConfig { std::string Url; @@ -101,6 +107,10 @@ struct ZenServerOptions bool StructuredCacheEnabled = true; bool ShouldCrash = false; // Option for testing crash handling bool IsFirstRun = false; +#if ZEN_WITH_TRACE + std::string TraceHost; // Host name or IP address to send trace data to + std::string TraceFile; // Path of a file to write a trace +#endif #if ZEN_ENABLE_MESH bool MeshEnabled = false; // Experimental p2p mesh discovery #endif |