Renamed ulayer -> callbacks
This commit is contained in:
parent
26a681cf37
commit
fd33a89214
19 changed files with 67 additions and 67 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: ibc.h,v 1.1 2007/02/28 16:38:51 adamdunkels Exp $
|
||||
* $Id: ibc.h,v 1.2 2007/03/15 10:01:04 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -46,17 +46,17 @@
|
|||
|
||||
struct ibc_conn;
|
||||
|
||||
struct ibc_ulayer {
|
||||
struct ibc_callbacks {
|
||||
void (* recv)(struct ibc_conn *ptr, node_id_t sender);
|
||||
};
|
||||
|
||||
struct ibc_conn {
|
||||
struct abc_conn c;
|
||||
const struct ibc_ulayer *u;
|
||||
const struct ibc_callbacks *u;
|
||||
};
|
||||
|
||||
void ibc_setup(struct ibc_conn *c, u16_t channel,
|
||||
const struct ibc_ulayer *u);
|
||||
const struct ibc_callbacks *u);
|
||||
int ibc_send(struct ibc_conn *c);
|
||||
|
||||
#endif /* __IBC_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue