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.

48 lines
1.9 KiB

  1. /*****************************************************************************
  2. ** Microsoft RAS Device INF Library wrapper **
  3. ** Copyright (C) 1992-93 Microsft Corporation. All rights reserved. **
  4. ** **
  5. ** File Name : wrapint.h **
  6. ** **
  7. ** Revision History : **
  8. ** July 23, 1992 David Kays Created **
  9. ** **
  10. ** Description : **
  11. ** RAS Device INF File Library wrapper above RASFILE Library for **
  12. ** modem/X.25/switch DLL (RASMXS). **
  13. *****************************************************************************/
  14. typedef struct {
  15. CHAR MacroName[MAX_PARAM_KEY_SIZE];
  16. CHAR MacroValue[RAS_MAXLINEBUFLEN];
  17. } MACRO;
  18. #define NONE 0
  19. #define OFF 1
  20. #define ON 2
  21. #define LMS "<"
  22. #define RMS ">"
  23. #define LMSCH '<'
  24. #define RMSCH '>'
  25. #define APPEND_MACRO LMS##"append"##RMS
  26. #define IGNORE_MACRO LMS##"ignore"##RMS
  27. #define MATCH_MACRO LMS##"match"##RMS
  28. #define WILDCARD_MACRO LMS##"?"##RMS
  29. #define CR_MACRO LMS##"cr"##RMS
  30. #define LF_MACRO LMS##"lf"##RMS
  31. #define ON_STR "_on"
  32. #define OFF_STR "_off"
  33. #define CR '\r' // 0x0D
  34. #define LF '\n' // 0x0A
  35. #define EXPAND_FIXED_ONLY 0x01 // <cr> and <lf> only
  36. #define EXPAND_ALL 0x02
  37. #define PARTIAL_MATCH 0x01
  38. #define FULL_MATCH 0x02
  39. #define EOS_COOKIE 1