| ||
SummaryThis type is used to provide the Sablotron engine with a callback structure for an encoding handler. | ||
Syntax
typedef EHDescriptor
EncHandlerOpen(void* userData,
SablotHandle processor_,
int direction, const char *encoding);
typedef EHResult
EncHandlerConv(void* userData, SablotHandle processor_,
EHDescriptor cd, const char** inbuf, size_t *inbytesleft,
char ** outbuf, size_t *outbytesleft);
typedef int
EncHandlerClose(void* userData, SablotHandle processor_,
EHDescriptor cd);
typedef struct
{
EncHandlerOpen *open;
EncHandlerConv *conv;
EncHandlerClose *close;
} EncHandler;
| ||
NotesSee the shandler.h file for more comments. | ||
See Also
|