Call CloseDevice() before DeleteIORequest(), and don't call
[AROS.git] / rom / filesys / afs / afshandler.h
blobbd77c2448cbf64f6766068651a97c2da4a2ae77e
1 #ifndef AFS_HANDLER_H
2 #define AFS_HANDLER_H
4 /*
5 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #include <exec/devices.h>
10 #include <devices/timer.h>
12 struct AFSBase
14 struct Library ab_Lib;
15 BPTR ab_SegList; /* Pointer to SegList trampoline */
16 struct Volume *volume;
17 struct DosLibrary *dosbase;
18 struct MsgPort *timer_mp;
19 struct MsgPort port; /* sigtask and sigbit for changeint */
20 struct List device_list; /* list of mounted devices (struct Volume) */
21 struct timerequest *timer_request;
22 ULONG timer_flags;
25 #define TIMER_ACTIVE 0x00000001
26 #define TIMER_RESTART 0x00000002
28 #endif