dnscrypto-proxy: Update to release 1.3.0
[tomato.git] / release / src / router / dnscrypt / src / proxy / app.h
blobcfe5a23878cd45c03d40ea3d71ac57fe5293fac7
2 #ifndef __APP_H__
3 #define __APP_H__ 1
5 #include <config.h>
6 #ifdef PLUGINS
7 # include "plugin_support.h"
8 #endif
10 #ifdef NDEBUG
11 # error Assertions should be turned on. Always.
12 #endif
14 typedef struct AppContext_ {
15 struct ProxyContext_ *proxy_context;
16 #ifdef PLUGINS
17 DCPluginSupportContext *dcps_context;
18 #endif
19 } AppContext;
21 int dnscrypt_proxy_main(int argc, char *argv[]);
22 int dnscrypt_proxy_loop_break(void);
24 #endif