Commit c74b6426 authored by Pekka Pessi's avatar Pekka Pessi

tport_type_tls.c: added field names to tport_vtable_t initialization

Ignore-this: a61beb9cbe0a2c660dbaaab193c5f739

darcs-hash:20090603172535-db55f-563cb35319a70b3ab0f4fa1bf36dfdde9ec9d6d1.gz
parent 157ae7d1
......@@ -98,38 +98,52 @@ static tport_t *tport_tls_connect(tport_primary_t *pri, su_addrinfo_t *ai,
tport_vtable_t const tport_tls_vtable =
{
"tls", tport_type_local,
sizeof (tport_tls_primary_t),
tport_tls_init_primary,
tport_tls_deinit_primary,
tport_tls_accept,
tport_tls_connect,
sizeof (tport_tls_t),
tport_tls_init_secondary,
tport_tls_deinit_secondary,
tport_tls_shutdown,
tport_tls_set_events,
tport_tls_events,
tport_tls_recv,
tport_tls_send,
/* vtp_name */ "tls",
/* vtp_public */ tport_type_local,
/* vtp_pri_size */ sizeof (tport_tls_primary_t),
/* vtp_init_primary */ tport_tls_init_primary,
/* vtp_deinit_primary */ tport_tls_deinit_primary,
/* vtp_wakeup_pri */ tport_tls_accept,
/* vtp_connect */ tport_tls_connect,
/* vtp_secondary_size */ sizeof (tport_tls_t),
/* vtp_init_secondary */ tport_tls_init_secondary,
/* vtp_deinit_secondary */ tport_tls_deinit_secondary,
/* vtp_shutdown */ tport_tls_shutdown,
/* vtp_set_events */ tport_tls_set_events,
/* vtp_wakeup */ tport_tls_events,
/* vtp_recv */ tport_tls_recv,
/* vtp_send */ tport_tls_send,
/* vtp_deliver */ NULL,
/* vtp_prepare */ NULL,
/* vtp_keepalive */ NULL,
/* vtp_stun_response */ NULL,
/* vtp_next_secondary_timer*/ NULL,
/* vtp_secondary_timer */ NULL,
};
tport_vtable_t const tport_tls_client_vtable =
{
"tls", tport_type_client,
sizeof (tport_tls_primary_t),
tport_tls_init_client,
tport_tls_deinit_primary,
tport_tls_accept,
tport_tls_connect,
sizeof (tport_tls_t),
tport_tls_init_secondary,
tport_tls_deinit_secondary,
tport_tls_shutdown,
tport_tls_set_events,
tport_tls_events,
tport_tls_recv,
tport_tls_send,
/* vtp_name */ "tls",
/* vtp_public */ tport_type_client,
/* vtp_pri_size */ sizeof (tport_tls_primary_t),
/* vtp_init_primary */ tport_tls_init_client,
/* vtp_deinit_primary */ tport_tls_deinit_primary,
/* vtp_wakeup_pri */ tport_tls_accept,
/* vtp_connect */ tport_tls_connect,
/* vtp_secondary_size */ sizeof (tport_tls_t),
/* vtp_init_secondary */ tport_tls_init_secondary,
/* vtp_deinit_secondary */ tport_tls_deinit_secondary,
/* vtp_shutdown */ tport_tls_shutdown,
/* vtp_set_events */ tport_tls_set_events,
/* vtp_wakeup */ tport_tls_events,
/* vtp_recv */ tport_tls_recv,
/* vtp_send */ tport_tls_send,
/* vtp_deliver */ NULL,
/* vtp_prepare */ NULL,
/* vtp_keepalive */ NULL,
/* vtp_stun_response */ NULL,
/* vtp_next_secondary_timer*/ NULL,
/* vtp_secondary_timer */ NULL,
};
static int tport_tls_init_primary(tport_primary_t *pri,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment