ROHC compression/decompression library
cid.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2010,2012,2013 Didier Barvaux
00003  * Copyright 2007,2009,2010 Viveris Technologies
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2.1 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this library; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00018  */
00019 
00020 /**
00021  * @file cid.h
00022  * @brief Context ID (CID) routines.
00023  * @author Didier Barvaux <didier.barvaux@toulouse.viveris.com>
00024  */
00025 
00026 #ifndef ROHC_COMP_SCHEMES_CID_H
00027 #define ROHC_COMP_SCHEMES_CID_H
00028 
00029 #include "rohc.h"
00030 #include "dllexport.h"
00031 
00032 #include <stdlib.h>
00033 
00034 
00035 /*
00036  * Prototypes of functions that may used by other ROHC modules
00037  */
00038 
00039 int ROHC_EXPORT code_cid_values(const rohc_cid_type_t cid_type,
00040                                 const int cid,
00041                                 unsigned char *const dest,
00042                                 const size_t dest_size,
00043                                 size_t *const first_position)
00044         __attribute__((warn_unused_result, nonnull(3, 5)));
00045 
00046 
00047 #endif
00048