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.

44 lines
1.4 KiB

  1. /*
  2. File ConfigQ.h
  3. Defines a mechanism for queueing configuration changes. This is
  4. needed because some ipxcp pnp re-config has to be delayed until
  5. there are zero connected clients.
  6. */
  7. #ifndef __rasipxcp_configq_h
  8. #define __rasipxcp_configq_h
  9. // Definitions of the config queue codes
  10. //
  11. #define CQC_THIS_MACHINE_ONLY 0x1
  12. #define CQC_ENABLE_GLOBAL_WAN_NET 0x2
  13. #define CQC_GLOBAL_WAN_NET 0x3
  14. #define CQC_SINGLE_CLIENT_DIALOUT 0x4
  15. #define CQC_FIRST_WAN_NET 0x5
  16. #define CQC_WAN_NET_POOL_SIZE 0x6
  17. #define CQC_WAN_NET_POOL_STR 0x7
  18. #define CQC_ENABLE_UNNUMBERED_WAN_LINKS 0x8
  19. #define CQC_ENABLE_AUTO_WAN_NET_ALLOCATION 0x9
  20. #define CQC_ENABLE_COMPRESSION_PROTOCOL 0xA
  21. #define CQC_ENABLE_IPXWAN_FOR_WORKST_OUT 0xB
  22. #define CQC_ACCEPT_REMOTE_NODE_NUMBER 0xC
  23. #define CQC_FIRST_WAN_NODE 0xD
  24. #define CQC_DEBUG_LOG 0xE
  25. // Callback function used when enumerating config values
  26. //
  27. typedef BOOL (* CQENUMFUNCPTR)(DWORD dwCode, LPVOID pvData, DWORD dwSize, ULONG_PTR ulpUser);
  28. // Creation/cleanup, etc.
  29. //
  30. DWORD CQCreate (HANDLE * phQueue);
  31. DWORD CQCleanup (HANDLE hQueue);
  32. DWORD CQRemoveAll (HANDLE hQueue);
  33. DWORD CQAdd (HANDLE hQueue, DWORD dwCode, LPVOID pvData, DWORD dwSize);
  34. DWORD CQEnum (HANDLE hQueue, CQENUMFUNCPTR pFunc, ULONG_PTR ulpUser);
  35. #endif