Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1994 Microsoft Corporation
  3. Module Name:
  4. apdetect.h
  5. Abstract:
  6. Some extra stuff to allow registry configuration for
  7. detect type modes..
  8. Author:
  9. Josh Cohen (joshco) 10-Oct-1998
  10. Environment:
  11. User Mode - Win32
  12. Revision History:
  13. Josh Cohen (joshco) 07-Oct-1998
  14. Created
  15. these are defines for autodetection flags
  16. this allows an admin or tester to easily verify
  17. correct operation of the detection system.
  18. You can control which detection methods are used,
  19. wether or not to force netbios name resolution,
  20. or wether or not to cache the flag.
  21. The default is DNS_A, DHCP, cacheable
  22. --*/
  23. #ifndef PROXY_AUTO_DETECT_TYPE_SAFETY_H
  24. #define PROXY_AUTO_DETECT_TYPE_SAFETY_H
  25. #define PROXY_AUTO_DETECT_TYPE_DEFAULT 67
  26. // do dns_a, dhcp and cache this flag.
  27. #define PROXY_AUTO_DETECT_TYPE_DHCP 1
  28. #define PROXY_AUTO_DETECT_TYPE_DNS_A 2
  29. #define PROXY_AUTO_DETECT_TYPE_DNS_SRV 4
  30. #define PROXY_AUTO_DETECT_TYPE_DNS_TXT 8
  31. #define PROXY_AUTO_DETECT_TYPE_SLP 16
  32. // assume no real domain, netbios
  33. #define PROXY_AUTO_DETECT_TYPE_NO_DOMAIN 32
  34. // just read this once for performance..
  35. #define PROXY_AUTO_DETECT_CACHE_ME 64
  36. /* this is the default path that we append when
  37. creating a CURL from a DNS resolve.
  38. http://wpad/wpad
  39. */
  40. #define PROXY_AUTO_DETECT_PATH "wpad.dat"
  41. DWORD
  42. WINAPI
  43. GetProxyDetectType( VOID) ;
  44. #endif