summaryrefslogtreecommitdiff
path: root/cp/conn/inc/conn_priv.h
blob: fb28459ea230a15d8fb2e7acbf660a71abd97f65 (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
/* Cesar project {{{
 *
 * Copyright (C) 2007 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    cp/conn/inc/conn_priv.h
 * \brief   private functions for the conn module
 * \ingroup cp_conn
 */


#ifndef CONN_PRIV_H_
#define CONN_PRIV_H_



/**
 * \brief       convert the CID of a connexion to it index
 *              
 * \param       cid
 * \return      index   
 */
u16
cp_conn_cid_2_index(u16 cid);

/**
 * \brief       return an available connexion index 
 *              the  CID can be calculated from this index
 * \param       
 * \return      index
 */
u16
cp_conn_get_new_conn_index(void);


#endif /*CONN_PRIV_H_*/