Browse Source

style: constant define

dev
Dnomd343 2 years ago
parent
commit
b485d17e6d
  1. 11
      include/constant.h

11
include/constant.h

@ -15,8 +15,6 @@
#define VERSION "1.3.2"
#define CONFIG_FILE "cleardns.yml"
#define ADGUARD_USER "admin"
#define ADGUARD_PASSWD "cleardns"
#define DNSPROXY_BIN "dnsproxy"
#define OVERTURE_BIN "overture"
@ -27,8 +25,11 @@
#define ASSETS_DIR "/cleardns/assets/"
#define ADGUARD_DIR "/cleardns/adguard/"
#define UPDATE_CRON "0 4 * * *"
#define ASSETS_PKG "/assets.tar.xz"
#define ADGUARD_USER "admin"
#define ADGUARD_PASSWD "cleardns"
#define UPDATE_CRON "0 4 * * *"
#define ASSETS_PKG "/assets.tar.xz"
#define ASSET_TTL "ttl.txt"
#define ASSET_HOSTS "hosts.txt"
@ -36,7 +37,7 @@
#define ASSET_CHINA_IP "china-ip.txt"
#define ASSET_CHINA_LIST "chinalist.txt"
#define EXIT_NORMAL 0
#define EXIT_NORMAL 0
#define EXIT_FORK_ERROR 1
#define EXIT_EXEC_ERROR 2
#define EXIT_WAIT_ERROR 3

Loading…
Cancel
Save