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: uc.h,v 1.1 2007/02/28 16:38:52 adamdunkels Exp $
|
||||
* $Id: uc.h,v 1.2 2007/03/15 10:01:05 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -45,17 +45,17 @@
|
|||
|
||||
struct uc_conn;
|
||||
|
||||
struct uc_ulayer {
|
||||
struct uc_callbacks {
|
||||
void (* recv)(struct uc_conn *c, node_id_t from_id);
|
||||
};
|
||||
|
||||
struct uc_conn {
|
||||
struct ibc_conn c;
|
||||
const struct uc_ulayer *u;
|
||||
const struct uc_callbacks *u;
|
||||
};
|
||||
|
||||
void uc_setup(struct uc_conn *c, u16_t channel,
|
||||
const struct uc_ulayer *u);
|
||||
const struct uc_callbacks *u);
|
||||
int uc_send(struct uc_conn *c, node_id_t receiver_id);
|
||||
|
||||
#endif /* __UC_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue