Contiki 2.5
custody_null.c
Go to the documentation of this file.
1 /**
2  * \addtogroup custody
3  * @{
4  */
5 
6 /**
7  * \defgroup custody_null NULL custody module
8  * @{
9  */
10 
11 /**
12  * \file
13  * \author Georg von Zengen <vonzeng@ibr.cs.tu-bs.de>
14  */
15 
16 #include "custody.h"
17 
18 void custody_null_init(void)
19 {
20  return;
21 }
22 
23 uint8_t custody_null_release(struct mmem *bundle)
24 {
25  return 0;
26 }
27 
28 uint8_t custody_null_report(struct mmem *bundle, uint8_t status)
29 {
30  return 0;
31 }
32 
33 uint8_t custody_null_decide(struct mmem *bundle, uint32_t * bundle_number)
34 {
35  return 0;
36 }
37 
38 uint8_t custody_null_retransmit(struct mmem *bundle)
39 {
40  return 0;
41 }
42 
43 void custody_null_delete_from_list(uint32_t bundle_num)
44 {
45  return;
46 }
47 
48 const struct custody_driver custody_null ={
49  "NULL_CUSTODY",
50  custody_null_init,
51  custody_null_release,
52  custody_null_report,
53  custody_null_decide,
54  custody_null_retransmit,
55  custody_null_delete_from_list
56 };
57 /** @} */
58 /** @} */
59