Commit 6367d02d authored by Pekka Pessi's avatar Pekka Pessi

tport_type_tcp.c: added field names to tport_vtable_t initialization

Ignore-this: 6ccaeb3ca9ab982af051f9b6ac4b01ff

darcs-hash:20090603172552-db55f-5d98981b8e4a5d539c936bfd5f91ed3911701671.gz
parent 3216adbf
......@@ -63,50 +63,52 @@ static char const __func__[] = "tport_type_tcp";
tport_vtable_t const tport_tcp_vtable =
{
"tcp", tport_type_local,
sizeof (tport_primary_t),
tport_tcp_init_primary,
NULL,
tport_accept,
NULL,
sizeof (tport_t),
tport_tcp_init_secondary,
NULL,
NULL,
NULL,
NULL,
tport_recv_stream,
tport_send_stream,
NULL,
NULL,
NULL,
NULL,
tport_tcp_next_timer,
tport_tcp_timer,
/* vtp_name */ "tcp",
/* vtp_public */ tport_type_local,
/* vtp_pri_size */ sizeof (tport_primary_t),
/* vtp_init_primary */ tport_tcp_init_primary,
/* vtp_deinit_primary */ NULL,
/* vtp_wakeup_pri */ tport_accept,
/* vtp_connect */ NULL,
/* vtp_secondary_size */ sizeof (tport_t),
/* vtp_init_secondary */ tport_tcp_init_secondary,
/* vtp_deinit_secondary */ NULL,
/* vtp_shutdown */ NULL,
/* vtp_set_events */ NULL,
/* vtp_wakeup */ NULL,
/* vtp_recv */ tport_recv_stream,
/* vtp_send */ tport_send_stream,
/* vtp_deliver */ NULL,
/* vtp_prepare */ NULL,
/* vtp_keepalive */ NULL,
/* vtp_stun_response */ NULL,
/* vtp_next_secondary_timer*/ tport_tcp_next_timer,
/* vtp_secondary_timer */ tport_tcp_timer,
};
tport_vtable_t const tport_tcp_client_vtable =
{
"tcp", tport_type_client,
sizeof (tport_primary_t),
tport_tcp_init_client,
NULL,
NULL,
NULL,
sizeof (tport_t),
tport_tcp_init_secondary,
NULL,
NULL,
NULL,
NULL,
tport_recv_stream,
tport_send_stream,
NULL,
NULL,
NULL,
NULL,
tport_tcp_next_timer,
tport_tcp_timer,
/* vtp_name */ "tcp",
/* vtp_public */ tport_type_client,
/* vtp_pri_size */ sizeof (tport_primary_t),
/* vtp_init_primary */ tport_tcp_init_client,
/* vtp_deinit_primary */ NULL,
/* vtp_wakeup_pri */ NULL,
/* vtp_connect */ NULL,
/* vtp_secondary_size */ sizeof (tport_t),
/* vtp_init_secondary */ tport_tcp_init_secondary,
/* vtp_deinit_secondary */ NULL,
/* vtp_shutdown */ NULL,
/* vtp_set_events */ NULL,
/* vtp_wakeup */ NULL,
/* vtp_recv */ tport_recv_stream,
/* vtp_send */ tport_send_stream,
/* vtp_deliver */ NULL,
/* vtp_prepare */ NULL,
/* vtp_keepalive */ NULL,
/* vtp_stun_response */ NULL,
/* vtp_next_secondary_timer*/ tport_tcp_next_timer,
/* vtp_secondary_timer */ tport_tcp_timer,
};
static int tport_tcp_setsndbuf(int socket, int atleast);
......
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