Commit 44701f67 authored by Pekka Pessi's avatar Pekka Pessi

tport_type_stun.c: added field names to tport_vtable_t initialization

Ignore-this: f47e20115a9b988b763ba7bd43f5dffe

darcs-hash:20090603173001-db55f-be647a429015577f09362511596ffa1c72452347.gz
parent ca11b060
......@@ -77,24 +77,27 @@ static int tport_stun_response(tport_t const *self,
tport_vtable_t const tport_stun_vtable =
{
"UDP", tport_type_stun,
sizeof (tport_primary_t),
tport_udp_init_stun,
tport_udp_deinit_stun,
NULL,
NULL,
sizeof (tport_t),
NULL,
NULL,
NULL,
NULL,
NULL,
tport_recv_dgram,
tport_send_dgram,
NULL,
NULL,
tport_stun_keepalive,
tport_stun_response
/* vtp_name */ "UDP",
/* vtp_public */ tport_type_stun,
/* vtp_pri_size */ sizeof (tport_primary_t),
/* vtp_init_primary */ tport_udp_init_stun,
/* vtp_deinit_primary */ tport_udp_deinit_stun,
/* vtp_wakeup_pri */ NULL,
/* vtp_connect */ NULL,
/* vtp_secondary_size */ sizeof (tport_t),
/* vtp_init_secondary */ NULL,
/* vtp_deinit_secondary */ NULL,
/* vtp_shutdown */ NULL,
/* vtp_set_events */ NULL,
/* vtp_wakeup */ NULL,
/* vtp_recv */ tport_recv_dgram,
/* vtp_send */ tport_send_dgram,
/* vtp_deliver */ NULL,
/* vtp_prepare */ NULL,
/* vtp_keepalive */ tport_stun_keepalive,
/* vtp_stun_response */ tport_stun_response,
/* vtp_next_secondary_timer*/ NULL,
/* vtp_secondary_timer */ NULL,
};
static int tport_udp_init_stun(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