ROHC compression/decompression library
src
comp
schemes
cid.h
Go to the documentation of this file.
1
/*
2
* Copyright 2010,2012,2013 Didier Barvaux
3
* Copyright 2007,2009,2010 Viveris Technologies
4
*
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2.1 of the License, or (at your option) any later version.
9
*
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
*/
19
20
/**
21
* @file cid.h
22
* @brief Context ID (CID) routines.
23
* @author Didier Barvaux <didier.barvaux@toulouse.viveris.com>
24
*/
25
26
#ifndef ROHC_COMP_SCHEMES_CID_H
27
#define ROHC_COMP_SCHEMES_CID_H
28
29
#include "
rohc.h
"
30
31
#include <stdlib.h>
32
#include <stdint.h>
33
34
35
/*
36
* Prototypes of functions that may used by other ROHC modules
37
*/
38
39
int
code_cid_values
(
const
rohc_cid_type_t
cid_type,
40
const
rohc_cid_t
cid,
41
uint8_t *
const
dest,
42
const
size_t
dest_size,
43
size_t
*
const
first_position)
44
__attribute__((warn_unused_result, nonnull(3, 5)));
45
46
47
#endif
48
rohc_cid_t
size_t rohc_cid_t
Definition:
rohc.h:195
rohc_cid_type_t
rohc_cid_type_t
The different types of Context IDs (CID)
Definition:
rohc.h:176
rohc.h
ROHC common definitions and routines.
code_cid_values
int code_cid_values(const rohc_cid_type_t cid_type, const rohc_cid_t cid, uint8_t *const dest, const size_t dest_size, size_t *const first_position)
Build the CID part of the ROHC packets.
Definition:
cid.c:59
Generated by
1.8.13