home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / dos / dosasl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  1.9 KB  |  126 lines

  1. #ifndef DOS_DOSASL_H
  2. #define DOS_DOSASL_H
  3. /*
  4. **
  5. ** $Filename: dos/dosasl.h $
  6. ** $Release: 2.04 Includes, V37.4 $
  7. ** $Revision: 36.16 $
  8. ** $Date: 91/05/02 $
  9. **
  10. ** Pattern-matching structure definitions
  11. **
  12. ** (C) Copyright 1989-1991 Commodore-Amiga, Inc.
  13. ** All Rights Reserved
  14. **
  15. */
  16.  
  17. #ifndef EXEC_LIBRARIES_H
  18. #include <exec/libraries.h>
  19. #endif
  20.  
  21. #ifndef EXEC_LISTS_H
  22. #include <exec/lists.h>
  23. #endif
  24.  
  25. #ifndef DOS_DOS_H
  26. #include <dos/dos.h>
  27. #endif
  28.  
  29.  
  30.  
  31.  
  32. struct AnchorPath {
  33.  struct AChain *ap_Base; 
  34. #define ap_First ap_Base
  35.  struct AChain *ap_Last; 
  36. #define ap_Current ap_Last
  37.  LONG ap_BreakBits; 
  38.  LONG ap_FoundBreak; 
  39.  BYTE ap_Flags; 
  40.  BYTE ap_Reserved;
  41.  WORD ap_Strlen; 
  42. #define ap_Length ap_Flags 
  43.  struct FileInfoBlock ap_Info;
  44.  UBYTE ap_Buf[1]; 
  45.  
  46. };
  47.  
  48.  
  49. #define APB_DOWILD 0 
  50. #define APF_DOWILD 1
  51.  
  52. #define APB_ITSWILD 1 
  53. #define APF_ITSWILD 2 
  54.  
  55.  
  56.  
  57.  
  58. #define APB_DODIR 2 
  59. #define APF_DODIR 4 
  60.  
  61.  
  62.  
  63. #define APB_DIDDIR 3 
  64. #define APF_DIDDIR 8
  65.  
  66. #define APB_NOMEMERR 4 
  67. #define APF_NOMEMERR 16
  68.  
  69. #define APB_DODOT 5 
  70. #define APF_DODOT 32 
  71.  
  72. #define APB_DirChanged 6 
  73. #define APF_DirChanged 64 
  74.  
  75. #define APB_FollowHLinks 7 
  76. #define APF_FollowHLinks 128 
  77.  
  78.  
  79. struct AChain {
  80.  struct AChain *an_Child;
  81.  struct AChain *an_Parent;
  82.  BPTR an_Lock;
  83.  struct FileInfoBlock an_Info;
  84.  BYTE an_Flags;
  85.  UBYTE an_String[1]; 
  86. };
  87.  
  88. #define DDB_PatternBit 0
  89. #define DDF_PatternBit 1
  90. #define DDB_ExaminedBit 1
  91. #define DDF_ExaminedBit 2
  92. #define DDB_Completed 2
  93. #define DDF_Completed 4
  94. #define DDB_AllBit 3
  95. #define DDF_AllBit 8
  96. #define DDB_Single 4
  97. #define DDF_Single 16
  98.  
  99.  
  100.  
  101. #define P_ANY 0x80 
  102. #define P_SINGLE 0x81 
  103. #define P_ORSTART 0x82 
  104. #define P_ORNEXT 0x83 
  105. #define P_OREND 0x84 
  106. #define P_NOT 0x85 
  107. #define P_NOTEND 0x86 
  108. #define P_NOTCLASS 0x87 
  109. #define P_CLASS 0x88 
  110. #define P_REPBEG 0x89 
  111. #define P_REPEND 0x8A 
  112. #define P_STOP 0x8B 
  113.  
  114.  
  115.  
  116. #define COMPLEX_BIT 1 
  117. #define EXAMINE_BIT 2 
  118.  
  119.  
  120.  
  121. #define ERROR_BUFFER_OVERFLOW 303 
  122. #define ERROR_BREAK 304 
  123. #define ERROR_NOT_EXECUTABLE 305 
  124.  
  125. #endif 
  126.