API change for Rime: *_setup() renamed to *_open()

This commit is contained in:
adamdunkels 2007-03-19 19:24:36 +00:00
parent a97285863e
commit 43326b5ae6
27 changed files with 73 additions and 73 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: mesh.h,v 1.2 2007/03/15 20:04:30 adamdunkels Exp $
* $Id: mesh.h,v 1.3 2007/03/19 19:24:37 adamdunkels Exp $
*/
/**
@ -48,7 +48,7 @@ struct mesh_callbacks {
void (* recv)(rimeaddr_t *from);
};
void mesh_setup(const struct mesh_callbacks *callbacks,
void mesh_open(const struct mesh_callbacks *callbacks,
void (* data_send_function)(rimeaddr_t *next));
int mesh_send(rimeaddr_t *dest);