Commit ca11b060 authored by Pekka Pessi's avatar Pekka Pessi

tport_type_connect.c: added field names to tport_vtable_t initialization

Ignore-this: 240c3c1a505f493c779351dca9a5b4a8

darcs-hash:20090603172941-db55f-e77b706b0a7fd193fa7686554ffb19630b70d6d6.gz
parent bfa2ca51
......@@ -76,21 +76,27 @@ typedef struct
tport_vtable_t const tport_http_connect_vtable =
{
"TCP", tport_type_connect,
sizeof (tport_http_connect_t),
tport_http_connect_init_primary,
tport_http_connect_deinit_primary,
NULL,
tport_http_connect,
sizeof (tport_http_connect_instance_t),
NULL,
NULL,
NULL,
NULL,
NULL,
tport_recv_stream,
tport_send_stream,
tport_http_deliver,
/* vtp_name */ "TCP",
/* vtp_public */ tport_type_connect,
/* vtp_pri_size */ sizeof (tport_http_connect_t),
/* vtp_init_primary */ tport_http_connect_init_primary,
/* vtp_deinit_primary */ tport_http_connect_deinit_primary,
/* vtp_wakeup_pri */ NULL,
/* vtp_connect */ tport_http_connect,
/* vtp_secondary_size */ sizeof (tport_http_connect_instance_t),
/* vtp_init_secondary */ NULL,
/* 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 */ tport_http_deliver,
/* vtp_prepare */ NULL,
/* vtp_keepalive */ NULL,
/* vtp_stun_response */ NULL,
/* vtp_next_secondary_timer*/ NULL,
/* vtp_secondary_timer */ NULL,
};
static int tport_http_connect_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