	IFND	DOS_DOSASL_I
DOS_DOSASL_I	SET	1
	IFND	EXEC_LIBRARIES_I
	INCLUDE	"exec/libraries.i"
	ENDC
	IFND	EXEC_LISTS_I
	INCLUDE	"exec/lists.i"
	ENDC
	IFND	DOS_DOS_I
	INCLUDE	"dos/dos.i"
	ENDC

	rsreset
AnchorPath	rs.b	0
ap_First	rs.w	0
ap_Base		rs.l	1
ap_Current	rs.w	0
ap_Last		rs.l	1
ap_BreakBits	rs.l	1
ap_FoundBreak	rs.l	1
ap_Length	rs.w	0
ap_Flags	rs.b	1
ap_Reserved	rs.b	1
ap_Strlen	rs.w	1
ap_Info		rs.b	fib_SIZEOF
ap_Buf		rs.w	0
ap_SIZEOF	rs.w	0

APB_DOWILD	equ	0
APF_DOWILD	equ	1<<0
APB_ITSWILD	equ	1
APF_ITSWILD	equ	1<<1
APB_DODIR	equ	2
APF_DODIR	equ	1<<2
APB_DIDDIR	equ	3
APF_DIDDIR	equ	1<<3
APB_NOMEMERR	equ	4
APF_NOMEMERR	equ	1<<4
APB_DODOT	equ	5
APF_DODOT	equ	1<<5
APB_DirChanged	equ	6
APF_DirChanged	equ	1<<6
APB_FollowHLinks	equ	7
APF_FollowHLinks	equ	1<<7

	rsreset
AChain		rs.b	0
an_Child	rs.l	1
an_Parent	rs.l	1
an_Lock		rs.l	1
an_Info		rs.b	fib_SIZEOF
an_Flags	rs.b	1
an_String	rs.w	0
an_SIZEOF	rs.w	0

DDB_PatternBit	equ	0
DDF_PatternBit	equ	1<<0
DDB_ExaminedBit	equ	1
DDF_ExaminedBit	equ	1<<1
DDB_Completed	equ	2
DDF_Completed	equ	1<<2
DDB_AllBit	equ	3
DDF_AllBit	equ	1<<3
DDB_SINGLE	equ	4
DDF_SINGLE	equ	1<<4

P_ANY		EQU	$80
P_SINGLE	EQU	$81
P_ORSTART	EQU	$82
P_ORNEXT	EQU	$83
P_OREND		EQU	$84
P_NOT		EQU	$85
P_NOTEND	EQU	$86
P_NOTCLASS	EQU	$87
P_CLASS		EQU	$88
P_REPBEG	EQU	$89
P_REPEND	EQU	$8A
P_STOP		EQU	$8B

COMPLEX_BIT	EQU	1
EXAMINE_BIT	EQU	2

ERROR_BUFFER_OVERFLOW	EQU	303
ERROR_BREAK		EQU	304
ERROR_NOT_EXECUTABLE	EQU	305

	ENDC	;DOS_DOSASL_I
