Contiki 2.5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
core
net
uDTN
delivery.h
Go to the documentation of this file.
1
/**
2
* \addtogroup bprocess
3
* @{
4
*/
5
6
/**
7
* \file
8
* \brief Headerfile for Bundle delivery
9
*
10
* \author Georg von Zengen <vonzeng@ibr.cs.tu-bs.de>
11
*/
12
13
#ifndef DELIVERY_H
14
#define DELIVERY_H
15
16
#include "contiki.h"
17
#include "
mmem.h
"
18
19
#define DELIVERY_STATE_ERROR -1
20
#define DELIVERY_STATE_WAIT_FOR_APP 1
21
#define DELIVERY_STATE_DELETE 2
22
#define DELIVERY_STATE_BUSY 3
23
24
/**
25
* \brief unblocks a service that was previously delivering a bundle
26
* \param bundlemem Pointer to MMEM structure
27
*/
28
void
delivery_unblock_service
(
struct
mmem * bundlemem);
29
30
/**
31
* \brief delivers bundle to a registered service
32
*
33
* \param bundlemem Pointer to MMEM structure
34
*/
35
int
delivery_deliver_bundle
(
struct
mmem * bundlemem);
36
37
#endif
38
39
/** @} */
40
/** @} */
Generated on Fri Aug 30 2013 12:34:06 for Contiki 2.5 by
1.8.3.1