Fixed out-by-one error in previous commit.
[AROS.git] / workbench / c / Unpack / package.h
blob47febf316e5018f78338e10bfeae2f7e3ce03460
1 #ifndef PKG_PACKAGE_H
2 #define PKG_PACKAGE_H
4 /*
5 Copyright © 2003, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #include <exec/types.h>
10 #include <dos/dos.h>
12 /****************************************************************************/
13 /** Prototypes **************************************************************/
15 /** Low-level functions *****************************************************/
17 APTR PKG_Open( CONST_STRPTR filename, LONG mode );
18 void PKG_Close( APTR package );
19 LONG PKG_Read( APTR package, APTR buffer, LONG length );
21 /** High-level functions ****************************************************/
23 LONG /* error */ PKG_ExtractFile( APTR package );
24 LONG /* error */ PKG_ExtractEverything( APTR package );
26 #endif /* PKG_PACKAGE_H */