Commit acbaae1c authored by Pekka Pessi's avatar Pekka Pessi

tport_type_sctp.c: added field names to tport_vtable_t initialization

Ignore-this: e46db57c5074618fa44373a76128f085

darcs-hash:20090603173017-db55f-c3cdbdb46c6e02bdf8d98af3cbc7ca2e496da61b.gz
parent 44701f67
......@@ -102,50 +102,52 @@ static void tport_sctp_timer(tport_t *self, su_time_t);
tport_vtable_t const tport_sctp_client_vtable =
{
"sctp", tport_type_client,
sizeof (tport_primary_t),
tport_sctp_init_client,
NULL,
tport_accept,
NULL,
sizeof (tport_t),
tport_sctp_init_secondary,
NULL,
NULL,
NULL,
NULL,
tport_recv_sctp,
tport_send_sctp,
NULL,
NULL,
NULL,
NULL,
tport_sctp_next_timer,
tport_sctp_timer,
/* vtp_name */ "sctp",
/* vtp_public */ tport_type_client,
/* vtp_pri_size */ sizeof (tport_primary_t),
/* vtp_init_primary */ tport_sctp_init_client,
/* vtp_deinit_primary */ NULL,
/* vtp_wakeup_pri */ tport_accept,
/* vtp_connect */ NULL,
/* vtp_secondary_size */ sizeof (tport_t),
/* vtp_init_secondary */ tport_sctp_init_secondary,
/* vtp_deinit_secondary */ NULL,
/* vtp_shutdown */ NULL,
/* vtp_set_events */ NULL,
/* vtp_wakeup */ NULL,
/* vtp_recv */ tport_recv_sctp,
/* vtp_send */ tport_send_sctp,
/* vtp_deliver */ NULL,
/* vtp_prepare */ NULL,
/* vtp_keepalive */ NULL,
/* vtp_stun_response */ NULL,
/* vtp_next_secondary_timer*/ tport_sctp_next_timer,
/* vtp_secondary_timer */ tport_sctp_timer,
};
tport_vtable_t const tport_sctp_vtable =
{
"sctp", tport_type_local,
sizeof (tport_primary_t),
tport_sctp_init_primary,
NULL,
tport_accept,
NULL,
sizeof (tport_t),
tport_sctp_init_secondary,
NULL,
NULL,
NULL,
NULL,
tport_recv_sctp,
tport_send_sctp,
NULL,
NULL,
NULL,
NULL,
tport_sctp_next_timer,
tport_sctp_timer,
/* vtp_name */ "sctp",
/* vtp_public */ tport_type_local,
/* vtp_pri_size */ sizeof (tport_primary_t),
/* vtp_init_primary */ tport_sctp_init_primary,
/* vtp_deinit_primary */ NULL,
/* vtp_wakeup_pri */ tport_accept,
/* vtp_connect */ NULL,
/* vtp_secondary_size */ sizeof (tport_t),
/* vtp_init_secondary */ tport_sctp_init_secondary,
/* vtp_deinit_secondary */ NULL,
/* vtp_shutdown */ NULL,
/* vtp_set_events */ NULL,
/* vtp_wakeup */ NULL,
/* vtp_recv */ tport_recv_sctp,
/* vtp_send */ tport_send_sctp,
/* vtp_deliver */ NULL,
/* vtp_prepare */ NULL,
/* vtp_keepalive */ NULL,
/* vtp_stun_response */ NULL,
/* vtp_next_secondary_timer*/ tport_sctp_next_timer,
/* vtp_secondary_timer */ tport_sctp_timer,
};
static int tport_sctp_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