summaryrefslogtreecommitdiff
path: root/cp/interf/inc/interf_sar_layer.h
blob: 7e6aa558c55c9e75236dff3c7d729ec126574fc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/* Cesar project {{{
 *
 * Copyright (C) 2007 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    interf_sar_layer.h
 * \brief   adapt the common MME interface to MAC/SAR
 * \ingroup cp/interf
 * 
 */
#ifndef INTERF_SAR_LAYER_H_
#define INTERF_SAR_LAYER_H_

//#include "cp/interf/inc/interf_types.h"
//#include "cp/interf/interf.h"
#include "mac/sar/sar.h"
#include "mac/sar/inc/sar_public_interfaces.h"
#include "cp/msg/inc/msg_const.h"

/**
 * \brief          init the interf_sar layer 
 * \param 
 * \return         
 */
void interf_sar_layer_init (void);

/**
 * \brief          function to give the buffer to the interface
 * \param 
 * \return         
 */
void interf_sar_layer_add_buf (msg_mme_t *msg);

/**
 * \brief          to send a message through the interface
 * \param 
 * \return         
 */
void interf_sar_layer_send_buf (msg_mme_t *msg);

/**
 * \brief          
 * \param 
 * \return         
 */
int interf_sar_layer_rel_buf (void);

/**
 * \brief          
 * \param 
 * \return         
 */
int interf_sar_layer_cb_rc (void);

#endif /*INTER_SAR_LAYER_H_*/