Documentation

The documentation for the supplied sublibraries and the documentation for the included programs are available. The library API documentation is only available in the Amiga autodoc format for now. The autodocs are in the doc directory of the source archive. When using them you should note the following type conversions:

ULONGunsigned int
LONGint
UWORDunsigned short
WORDshort
UBYTEunsigned char (or char when appropriate)
BYTEchar
APTRpointer to something
BPTRpointer to something
STRPTRchar *

In struct XpkPackerList the xpk_Packer entry was changed from char xpl_Packer[MAXPACKERS][6] to unsigned int xpl_Packer[MAXPACKERS] because the Amiga version actually wrote an unsigned int to the character array assuming that the bytes are ordered like they are on Amiga. This ridiculous idea didn't quite work on Solaris nor on IRIX so I changed the behaviour a bit.

Examples

Check out the example tools in the shell directory to see how to use the library. Documentation for the tools is available in the AmigaGuide file but they should be pretty straight forward. Try
xPK -m RLEN README
xPK -e README