Commit bfa2ca51 authored by Pekka Pessi's avatar Pekka Pessi

tport_threadpool.c: added field names to tport_vtable_t initialization

Ignore-this: 6f9c882fcfcff9ffb6dfd3258d45b0c2

darcs-hash:20090603172913-db55f-f6ce4906839f375a0005889ffa353a74e5f08b05.gz
parent 6367d02d
......@@ -129,22 +129,27 @@ static int tport_thread_send(tport_t *tp,
tport_vtable_t const tport_threadpool_vtable =
{
"udp", tport_type_local,
sizeof (tport_threadpool_t),
tport_threadpool_init_primary,
tport_threadpool_deinit_primary,
NULL,
NULL,
0, /* No secondary transports! */
NULL,
NULL,
NULL,
NULL,
NULL,
tport_recv_dgram,
tport_send_dgram,
NULL,
tport_thread_send
/* vtp_name */ "udp",
/* vtp_public */ tport_type_local,
/* vtp_pri_size */ sizeof (tport_threadpool_t),
/* vtp_init_primary */ tport_threadpool_init_primary,
/* vtp_deinit_primary */ tport_threadpool_deinit_primary,
/* vtp_wakeup_pri */ NULL,
/* vtp_connect */ NULL,
/* vtp_secondary_size */ 0, /* No secondary transports! */
/* 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 */ tport_thread_send,
/* vtp_keepalive */ NULL,
/* vtp_stun_response */ NULL,
/* vtp_next_secondary_timer*/ NULL,
/* vtp_secondary_timer */ NULL,
};
static int thrp_udp_init(su_root_t *, threadpool_t *);
......@@ -809,4 +814,5 @@ void thrp_udp_send_report(su_root_magic_t *magic,
tport_error_report(tp, tpd->tpd_errorcode, msg_addr(tpd->tpd_msg));
msg_ref_destroy(tpd->tpd_msg);
}
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