22 lines
464 B
C
22 lines
464 B
C
#pragma once
|
|
#include <spdlog/spdlog.h>
|
|
|
|
typedef struct
|
|
{
|
|
TCHAR wireguardPath[MAX_PATH];
|
|
BOOL wireguardExists;
|
|
TCHAR wgPath[MAX_PATH];
|
|
BOOL wgExists;
|
|
} WIREGUARD_CFG, *PWIREGUARD_CFG;
|
|
|
|
typedef struct
|
|
{
|
|
TCHAR workDirectory[MAX_PATH];
|
|
PROTO_CRYPTO_TYPE proCryptoType;
|
|
TCHAR proKeyBuf[CRYPTO_MAX][256];
|
|
spdlog::level::level_enum logLevel;
|
|
WIREGUARD_CFG wireguardCfg;
|
|
} SDK_CONFIG, *PSDK_CONFIG;
|
|
|
|
PSDK_CONFIG GetGlobalCfgInfo();
|