Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / reqtools / rtfreerequest.c
blobd423e6682ab79ac6a55bed17303978d95e9d6deb
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: English
7 */
9 #include <exec/types.h>
10 #include <proto/exec.h>
11 #include <proto/reqtools.h>
12 #include <proto/intuition.h>
13 #include <exec/libraries.h>
14 #include <exec/memory.h>
15 #include <aros/libcall.h>
17 #include "reqtools_intern.h"
19 /*****************************************************************************
21 NAME */
23 AROS_LH1(void, rtFreeRequest,
25 /* SYNOPSIS */
27 AROS_LHA(APTR, req, A1),
29 /* LOCATION */
31 struct ReqToolsBase *, ReqToolsBase, 6, ReqTools)
33 /* FUNCTION
34 Free requester structure previously allocated by rtAllocRequestA().
35 This will also free all buffers associated with the requester, so
36 there is no need to call rtFreeReqBuffer() first.
38 INPUTS
39 req - pointer to requester (may be NULL).
41 RESULT
42 none
44 NOTES
46 EXAMPLE
48 BUGS
49 none known
51 SEE ALSO
52 rtAllocRequestA()
54 INTERNALS
56 HISTORY
58 ******************************************************************************/
60 AROS_LIBFUNC_INIT
62 FreeRequest(req); /* in filereqalloc.c */
64 AROS_LIBFUNC_EXIT
66 } /* rtFreeRequest */