Sablotron Guide and Reference

SablotRegHandler Functions

Summary

Registers new handler.

Syntax

int SablotRegHandler(SablotHandle processor_,
       HandlerType type,
       void *handler,
       void *userData);
NameTypeDescription
processor_SablotHandleprocessor handle
typeHandlerTypehandler type
handlervoid*pointer to the handler struct
userDatavoid*user data

Description

Registers one of available handlers. The handler type is either of HLR_MESSAGE, HLR_SCHEME, HLR_SAX, HLR_MISC, HLR_ENC. The ``handler'' parameter point to the callback structure.

The stucture format depends on the handler sype specified. Possible callbacks structures are:
SchemeHandler, MessageHandler, SAXHandler, MiscHandler, EncHandler.

See .Handlers for more.

See Also

Groups [ Functions ]
Entries [ .Handlers | EncHandler | MessageHandler | MiscHandler | SAXHandler | SablotHandle | SchemeHandler ]

© 2002-2003 Ginger Alliance
revision 03-06-30
This page was generated by APIDOC