Functions | |
int | kate_high_decode_init (kate_state *k) |
int | kate_high_decode_packetin (kate_state *k, kate_packet *op, kate_const kate_event **ev) |
int | kate_high_decode_clear (kate_state *k) |
int kate_high_decode_clear | ( | kate_state * | k | ) |
Clears a previously initialized kate_state structure
k | the kate_state structure to clear |
KATE_E_* error
int kate_high_decode_init | ( | kate_state * | k | ) |
Initializes a kate_state for high level decoding.
k | the kate_state structure to initialize |
KATE_E_* error
int kate_high_decode_packetin | ( | kate_state * | k, | |
kate_packet * | op, | |||
kate_const kate_event ** | ev | |||
) |
Processes a packet and outputs an event if possible
k | the kate_state structure representing the stream to decode | |
op | the packet to decode | |
ev | where to place a pointer to an event if there we just decoded one |
KATE_E_* error