Added *_close() function to all Rime modules

This commit is contained in:
adamdunkels 2007-03-19 22:10:16 +00:00
parent aa1389e873
commit e4a739a76c
22 changed files with 108 additions and 23 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: nf.c,v 1.5 2007/03/19 19:24:37 adamdunkels Exp $
* $Id: nf.c,v 1.6 2007/03/19 22:10:17 adamdunkels Exp $
*/
/**
@ -157,6 +157,12 @@ nf_open(struct nf_conn *c, u16_t channel,
c->u = u;
}
/*---------------------------------------------------------------------------*/
void
nf_close(struct nf_conn *c)
{
ibc_close(&c->c);
}
/*---------------------------------------------------------------------------*/
int
nf_send(struct nf_conn *c)
{