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
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
;
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 */