Skip to content

quic_callbacks

More...

#include <quic_types.h>

Public Attributes

Name
void(*)(void *user, int64_t stream_id, uint64_t datalen) stream_acked
void(*)(void *user) handshake_done
void(*)(void *user, int64_t stream_id, uint64_t app_error) stream_reset
void(*)(void *user) key_update
void(*)(void *user, const struct sockaddr *peer, socklen_t peer_len) conn_migrated

Detailed Description

struct quic_callbacks;

Events an engine reports upwards. Every hook takes the handle given to quic_conn_set_user(); leave a hook unset and the engine skips it.

Public Attributes Documentation

variable stream_acked

void(*)(void *user, int64_t stream_id, uint64_t datalen) stream_acked;

variable handshake_done

void(*)(void *user) handshake_done;

variable stream_reset

void(*)(void *user, int64_t stream_id, uint64_t app_error) stream_reset;

variable key_update

void(*)(void *user) key_update;

variable conn_migrated

void(*)(void *user, const struct sockaddr *peer, socklen_t peer_len) conn_migrated;