Added the functionlist section to the .conf of the libraries present in
[AROS.git] / workbench / libs / nonvolatile / nonvolatile_intern.h
blob6b3eea7af32f2c65e58ebf0301fb234eeabd4c92
1 #ifndef NONVOLATILE_INTERN_H
2 #define NONVOLATILE_INTERN_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc:
9 Lang: English
13 #include <exec/libraries.h>
14 #include <libraries/nonvolatile.h>
15 #include <dos/dos.h>
17 // Private structure of nonvolatile.library library base
18 struct NVBase
20 struct Library nv_Lib;
21 struct ExecBase *nv_SysBase;
22 APTR nv_SegList;
24 // Library talking to the hardware
25 struct Library *nv_ImplementationLib;
28 #define GM_SYSBASE_FIELD(lh) (((struct LibHeader *)lh)->lh_SysBase)
29 #define GM_SEGLIST_FIELD(lh) (((struct LibHeader *)lh)->lh_SegList)
31 /* Locate library bases */
33 #define nvdBase ((struct NVBase *)nvBase)->nv_ImplementationLib
35 #define GPB(x) ((struct NVBase *)x)
37 #endif /* NONVOLATILE_INTERN_H */