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: ccsabc.h,v 1.1 2007/02/28 16:38:51 adamdunkels Exp $
* $Id: ccsabc.h,v 1.2 2007/03/15 10:01:04 adamdunkels Exp $
*/
/**
@ -46,20 +46,20 @@
struct ccsabc_conn;
struct ccsabc_ulayer {
struct ccsabc_callbacks {
void (* recv)(struct ccsabc_conn *c);
void (* sent)(struct ccsabc_conn *c);
};
struct ccsabc_conn {
struct sabc_conn conn;
const struct ccsabc_ulayer *u;
const struct ccsabc_callbacks *u;
unsigned char state;
unsigned char c;
};
void ccsabc_setup(struct ccsabc_conn *c, u16_t channel,
const struct ccsabc_ulayer *u);
const struct ccsabc_callbacks *u);
int ccsabc_send_stubborn(struct ccsabc_conn *c, clock_time_t t);
void ccsabc_cancel(struct ccsabc_conn *c);