Ablgen.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //===========================================================================//
  2. // Copyright (C) Microsoft Corporation. All rights reserved. //
  3. //===========================================================================//
  4. //***************************************************************************
  5. //
  6. // GENERAL.H
  7. //
  8. //***************************************************************************
  9. #ifndef ABLGEN_H
  10. #define ABLGEN_H
  11. //***************************************************************************
  12. //---------------------------------------------------------------------
  13. // Set this, once we have the actual executor modules up and running...
  14. #define USE_COMPOUND_STATEMENTS 0
  15. #define ANALYZE_ON 0
  16. #define ORDERS_ON 1
  17. #define CHAR_FORMFEED '\f'
  18. #define CHAR_EOF '\x7f'
  19. #define MAX_INCLUDE_DEPTH 6
  20. #define MAXLEN_FILENAME 256
  21. #define MAXLEN_SOURCELINE 2048
  22. #define MAXLEN_PRINTLINE 80
  23. #define MAXLEN_TOKENSTRING MAXLEN_SOURCELINE
  24. #define MAX_LINES_PER_PAGE 50
  25. #define MAXLEN_STRING_CONSTANT 1024
  26. #define MAX_NESTING_LEVEL 3
  27. #define LEN_DATESTRING 26
  28. #define MAXSIZE_CODE_BUFFER 20480
  29. #define MAXSIZE_STACK 10240
  30. #define STACK_FRAME_HEADER_SIZE 4
  31. #define SYSTEM_HEAP_SIZE 1024 * 1024 // General system memory...
  32. // Masher Commands available...
  33. #define COMMAND_HELP_SHORT 0
  34. #define COMMAND_WAIT_LONG 1
  35. #define COMMAND_WAIT_SHORT 2
  36. #define COMMAND_RANDOM_LONG 3
  37. #define COMMAND_RANDOM_SHORT 4
  38. #define COMMAND_NUM_RUNS_LONG 5
  39. #define COMMAND_NUM_RUNS_SHORT 6
  40. #define ABL_NO_ERR 0
  41. #define MAX_ORDERS 65535
  42. //***************************************************************************
  43. typedef char* Address;
  44. //***************************************************************************
  45. #endif