*
*	Name:				libinf.a
*
*	Description:	Description file for libhdr.a
*
*	Copyright:		1991-1993 by David Jones.
*
*	Distribution:
*    This source file is released under the terms and conditions of the
*	GNU General Public Library License, which should have been included
*	with this source distribution.  If you do not have a copy of this
*	license, then write to both of the following:
*
*				The Free Software Foundation		David Jones
*				675 Mass Ave							6730 Tooney Drive
*				Cambridge, MA							Orleans, Ontario
*				02139										K1C 6R4
*				USA										Canada
*
*	Usenet:	gnu@prep.ai.mit.edu					dej@qpoint.ocunix.on.ca
*	Fidonet:												1:163/109.8
*
*
*	There is NO WARRANTY associated with this software; refer to "gpll.doc"
*	for details.
*
*		$Log: $
*
*

*
*  This is the stuff you will have to change.
*

		include	'utility/hooks.i'
		include	'xferq_rev.i'

		XDEF	_LibName
		XDEF	_LibID
		XDEF	_FuncTable
		XDEF	_CallHookRes
		
		XREF	_aLibOpen
		XREF	_aLibClose
		XREF	_aLibExpunge
		XREF	_aLibExtFunc

DEF		MACRO
			XREF		_LIB\1
			dc.l		_LIB\1
			ENDM

		; put XREFs for your functions here


		; put the name of your library here
_LibName	dc.b	'xferq.library',0

		; put your ID string here
_LibID:
		VSTRING

		CNOP 0,2

		; don't touch these
_FuncTable:
		dc.l	_aLibOpen
		dc.l	_aLibClose
		dc.l	_aLibExpunge
		dc.l	_aLibExtFunc
		
		; put pointers to your functions here.

		dc.l	_aLibRexxQuery
		DEF	Hook
		DEF	WPL1
		DEF	WPL2
		
		DEF	AddWork
		DEF	AddWorkQuick
		DEF	AnyWork
		DEF	GetWork
		DEF	FindWork
		DEF	UnlockWork
		DEF	RemoveWork
		DEF	MaxSitePri
		DEF	WalkQueueCallBack
		DEF	GetSiteList
		DEF	FlushQueue
		
		DEF	BeginSession
		DEF	EndSession
		DEF	SessionUp
		DEF	SortSession
		DEF	WalkSessionCallBack
		
		DEF	NextSeq
		
		DEF	GetAddress
		DEF	PutAddress
		DEF	CmpAddress
		DEF	Map
		DEF	Filter
		
		DEF	GetError
		DEF	ErrorMsg
		
		DEF	CreateObject
		DEF	DropObject
		DEF	ExamObject
		DEF	ModifyObject
		DEF	CopyObject

		DEF	HoldMailer
		DEF	ReleaseMailer
		
		dc.l	-1
		
*
*	The next piece of code is the glue driver for the ARexx query function.
*	If you are writing an ARexx function library then remove the
*  semicolon from the line below.
*

INCLUDE_REXX   EQU   0

      IFD      INCLUDE_REXX

		XREF		_LIBRexxQuery

_aLibRexxQuery:
		link		A5,#-4
		lea		-4(A5),A1	; pointer for return value
		jsr		_LIBRexxQuery
		move.l	-4(A5),A0	;	fetch return value
		unlk		A5
		rts

      ENDC

_CallHookRes:
		move.l	h_Entry(A0),-(SP)
		rts

		END

