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: suc.h,v 1.1 2007/02/28 16:38:52 adamdunkels Exp $
* $Id: suc.h,v 1.2 2007/03/15 10:01:05 adamdunkels Exp $
*/
/**
@ -47,7 +47,7 @@
struct suc_conn;
struct suc_ulayer {
struct suc_callbacks {
void (* recv)(struct suc_conn *c, node_id_t from);
void (* sent)(struct suc_conn *c);
};
@ -56,12 +56,12 @@ struct suc_conn {
struct uc_conn c;
struct ctimer t;
struct queuebuf *buf;
const struct suc_ulayer *u;
const struct suc_callbacks *u;
node_id_t receiver_id;
};
void suc_setup(struct suc_conn *c, u16_t channel,
const struct suc_ulayer *u);
const struct suc_callbacks *u);
int suc_send_stubborn(struct suc_conn *c, node_id_t receiver_id);
void suc_cancel(struct suc_conn *c);