2 #ifndef __WINDOWS_SERVICE_H__
3 #define __WINDOWS_SERVICE_H__ 1
5 #ifndef WINDOWS_SERVICE_NAME
6 # define WINDOWS_SERVICE_NAME "dnscrypt-proxy"
9 #ifndef WINDOWS_SERVICE_REGISTRY_PARAMETERS_KEY
10 # define WINDOWS_SERVICE_REGISTRY_PARAMETERS_KEY \
11 "SYSTEM\\CurrentControlSet\\Services\\" \
12 WINDOWS_SERVICE_NAME "\\Parameters"
15 typedef enum WinOption_
{
16 WIN_OPTION_INSTALL
= 256,
21 int windows_service_install(ProxyContext
* const proxy_context
);
22 int windows_service_uninstall(void);