#include <codec.h>
Collaboration diagram for Codec:
Data Fields | |
u_int16 | version |
Codec *(* | Create )(void) |
enum CodecError(* | Decode )(struct Codec *cod, struct CodecServices *cs, const char **errorString) |
void(* | Delete )(struct Codec *cod) |
CodecServices * | cs |
Definition at line 154 of file codec.h.
|
Create and allocate space for codec. |
|
A pointer that the codec may or may not fill or use. |
|
Decode file. Upon success or a negative number, Codec has succeeded. With a positive number, there has been an error. Upon return, an error string is also returned. |
|
Free all resources allocated for codec. |
|
Version number. 8 MSBs contain version number, 8 LSBs size of the structure in words. |