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 00031 #include <stdlib.h> 00032 00033 00034 /* 00035 * Prototypes of functions that may used by other ROHC modules 00036 */ 00037 00038 int code_cid_values(const rohc_cid_type_t cid_type, 00039 const rohc_cid_t cid, 00040 uint8_t *const dest, 00041 const size_t dest_size, 00042 size_t *const first_position) 00043 __attribute__((warn_unused_result, nonnull(3, 5))); 00044 00045 00046 #endif 00047
1.6.1