summaryrefslogtreecommitdiff
path: root/cesar/cp2/conn/inc/link.h
blob: 0a1afabafa66e1e3a5132ae64675040c29509cb2 (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
#ifndef cp2_conn_inc_link_h
#define cp2_conn_inc_link_h
/* Cesar project {{{
 *
 * Copyright (C) 2008 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    link.h
 * \brief   link management
 * \ingroup cp2/conn
 *
 * « long description »
 */

u8
cp_link_get_lid(void);

/**
 * BLE memory allocation 
 * \param first first BLE of a link
 * \param new new element to add to the heap
 *
 * link the BLE 
 */
void
cp_link_push_ble(cp_link_t *link, u16 ble, u16 et);

void
cp_link_release_ble(cp_link_t *link);

#endif