Addons updated to new doc format
[io.git] / addons / LZO / source / IoLZODecoder.h
blobbd1a2517dab3193520de883b36748aac7fa8d82b
1 //metadoc LZODecoder copyright Steve Dekorte 2002
3 #ifndef IoLZODecoder_DEFINED
4 #define IoLZODecoder_DEFINED 1
6 #include "IoObject.h"
7 #include "IoSeq.h"
8 #include "IoList.h"
10 #include "minilzo.h"
11 #include <ctype.h>
13 #define ISZLODECODER(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoLZODecoder_rawClone)
15 typedef IoObject IoLZODecoder;
17 typedef struct
19 lzo_align_t __LZO_MMODEL wrkmem [ ((LZO1X_1_MEM_COMPRESS) + (sizeof(lzo_align_t) - 1)) / sizeof(lzo_align_t) ];
20 int isDone;
21 } IoLZOData;
23 IoTag *IoLZODecoder_newTag(void *state);
24 IoLZODecoder *IoLZODecoder_proto(void *state);
25 IoLZODecoder *IoLZODecoder_rawClone(IoLZODecoder *self);
26 void IoLZODecoder_free(IoLZODecoder *self);
28 IoObject *IoLZODecoder_beginProcessing(IoLZODecoder *self, IoObject *locals, IoMessage *m);
29 IoObject *IoLZODecoder_process(IoLZODecoder *self, IoObject *locals, IoMessage *m);
30 IoObject *IoLZODecoder_endProcessing(IoLZODecoder *self, IoObject *locals, IoMessage *m);
32 #endif