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: ibc.c,v 1.1 2007/02/28 16:38:51 adamdunkels Exp $
* $Id: ibc.c,v 1.2 2007/03/15 10:01:04 adamdunkels Exp $
*/
/**
@ -57,11 +57,11 @@ recv_from_abc(struct abc_conn *bc)
c->u->recv(c, hdr->sender_id);
}
/*---------------------------------------------------------------------------*/
static const struct abc_ulayer ibc = {recv_from_abc};
static const struct abc_callbacks ibc = {recv_from_abc};
/*---------------------------------------------------------------------------*/
void
ibc_setup(struct ibc_conn *c, u16_t channel,
const struct ibc_ulayer *u)
const struct ibc_callbacks *u)
{
abc_setup(&c->c, channel, &ibc);
c->u = u;