Go to the documentation of this file. 159 #define LIB_MSPACK_H 1 165 #include <sys/types.h> 191 #define MSPACK_SYS_SELFTEST(result) do { \ 192 (result) = mspack_sys_selftest_internal(sizeof(off_t)); \ 232 #define MSPACK_VER_LIBRARY (0) 234 #define MSPACK_VER_SYSTEM (1) 236 #define MSPACK_VER_MSCABD (2) 238 #define MSPACK_VER_MSCABC (3) 240 #define MSPACK_VER_MSCHMD (4) 242 #define MSPACK_VER_MSCHMC (5) 244 #define MSPACK_VER_MSLITD (6) 246 #define MSPACK_VER_MSLITC (7) 248 #define MSPACK_VER_MSHLPD (8) 250 #define MSPACK_VER_MSHLPC (9) 252 #define MSPACK_VER_MSSZDDD (10) 254 #define MSPACK_VER_MSSZDDC (11) 256 #define MSPACK_VER_MSKWAJD (12) 258 #define MSPACK_VER_MSKWAJC (13) 260 #define MSPACK_VER_MSOABD (14) 262 #define MSPACK_VER_MSOABC (15) 311 const char *filename,
456 #define MSPACK_SYS_OPEN_READ (0) 458 #define MSPACK_SYS_OPEN_WRITE (1) 460 #define MSPACK_SYS_OPEN_UPDATE (2) 462 #define MSPACK_SYS_OPEN_APPEND (3) 465 #define MSPACK_SYS_SEEK_START (0) 467 #define MSPACK_SYS_SEEK_CUR (1) 469 #define MSPACK_SYS_SEEK_END (2) 483 #define MSPACK_ERR_OK (0) 485 #define MSPACK_ERR_ARGS (1) 487 #define MSPACK_ERR_OPEN (2) 489 #define MSPACK_ERR_READ (3) 491 #define MSPACK_ERR_WRITE (4) 493 #define MSPACK_ERR_SEEK (5) 495 #define MSPACK_ERR_NOMEMORY (6) 497 #define MSPACK_ERR_SIGNATURE (7) 499 #define MSPACK_ERR_DATAFORMAT (8) 501 #define MSPACK_ERR_CHECKSUM (9) 503 #define MSPACK_ERR_CRUNCH (10) 505 #define MSPACK_ERR_DECRUNCH (11)