Commit 565b7606 authored by Pekka Pessi's avatar Pekka Pessi

Fixed prototypes for tpac_alloc() in tport, nth.

darcs-hash:20060925222211-65a35-ea7db7a1a5e7916a219b9cd8a3dda0e20140263e.gz
parent e1964eb9
......@@ -232,7 +232,7 @@ static uint32_t he_now(nth_engine_t const *he);
static void he_recv_message(nth_engine_t * he, tport_t * tport,
msg_t *msg, void *arg, su_time_t now);
static msg_t *he_msg_create(nth_engine_t * he, int flags,
char const data[], unsigned dlen,
char const data[], usize_t dlen,
tport_t const *tport, nth_client_t * hc);
static void he_tp_error(nth_engine_t * he,
tport_t * tport, int errcode, char const *remote);
......@@ -561,7 +561,7 @@ msg_t *nth_engine_msg_create(nth_engine_t * he, int flags)
/** Create a new message for transport */
static
msg_t *he_msg_create(nth_engine_t * he, int flags,
char const data[], unsigned dlen,
char const data[], usize_t dlen,
tport_t const *tport, nth_client_t * hc)
{
......
......@@ -202,7 +202,7 @@ static nth_site_t **site_get_directory(nth_site_t **list, char const *path,
static void server_tport_error(server_t *srv, tport_t *tport,
int errcode, char const *remote);
static msg_t *server_msg_create(server_t *srv, int flags,
char const data[], unsigned dlen,
char const data[], usize_t dlen,
tport_t const *tp, tp_client_t *tpc);
static void server_reply(server_t *srv, tport_t *tport,
......@@ -771,7 +771,7 @@ static void server_reply(server_t *srv, tport_t *tport,
/** Create a new message for transport */
static
msg_t *server_msg_create(server_t *srv, int flags,
char const data[], unsigned dlen,
char const data[], usize_t dlen,
tport_t const *tp, tp_client_t *tpc)
{
msg_t *msg = msg_create(srv->srv_mclass, srv->srv_mflags | flags);
......
......@@ -389,7 +389,7 @@ static void tp_test_error(tp_test_t *tt,
}
msg_t *tp_test_msg(tp_test_t *tt, int flags,
char const data[], unsigned size,
char const data[], usize_t size,
tport_t const *tp,
tp_client_t *tpc)
{
......
......@@ -392,7 +392,7 @@ void tport_destroy_error(tp_stack_t *stack, tport_t *tp,
static
msg_t *tport_destroy_alloc(tp_stack_t *stack, int flags,
char const data[], unsigned len,
char const data[], usize_t len,
tport_t const *tp,
tp_client_t *tpc)
{
......
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