grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / devs / printtofile / printtofile_intern.h
blobb607d84f141b3f86bdedf444d814175abb274e2f
1 /*
2 * Copyright (C) 2012, The AROS Development Team. All rights reserved.
3 * Author: Jason S. McMullan <jason.mcmullan@gmail.com>
5 * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1
6 */
8 #ifndef PRINTTOFILE_INTERN_H
9 #define PRINTTOFILE_INTERN_H
11 #include <exec/devices.h>
12 #include <libraries/asl.h>
14 #define PRINTTOFILE_UNITS 10 /* Same as the max # of printers */
16 struct PrintToFileBase {
17 struct Device pf_Device;
19 struct PrintToFileUnit {
20 struct SignalSemaphore pu_Lock;
21 struct FileRequester *pu_FileReq;
22 BPTR pu_File;
23 } pf_Unit[PRINTTOFILE_UNITS];
25 struct Library *pf_AslBase;
26 struct Library *pf_DOSBase;
29 #define AslBase PrintToFileBase->pf_AslBase
30 #define DOSBase PrintToFileBase->pf_DOSBase
32 #endif /* PRINTTOFILE_INTERN_H */