Renamed ulayer -> callbacks

This commit is contained in:
adamdunkels 2007-03-15 10:01:04 +00:00
parent 26a681cf37
commit fd33a89214
19 changed files with 67 additions and 67 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: ruc.c,v 1.1 2007/02/28 16:38:52 adamdunkels Exp $
* $Id: ruc.c,v 1.2 2007/03/15 10:01:04 adamdunkels Exp $
*/
/**
@ -110,11 +110,11 @@ recv_from_suc(struct suc_conn *suc, node_id_t from_id)
}
}
/*---------------------------------------------------------------------------*/
static const struct suc_ulayer ruc = {recv_from_suc, sent_by_suc};
static const struct suc_callbacks ruc = {recv_from_suc, sent_by_suc};
/*---------------------------------------------------------------------------*/
void
ruc_setup(struct ruc_conn *c, u16_t channel,
const struct ruc_ulayer *u)
const struct ruc_callbacks *u)
{
suc_setup(&c->c, channel, &ruc);
c->u = u;