00001 /* 00002 * Copyright 2012,2013,2014 Didier Barvaux 00003 * Copyright 2013,2014 Viveris Technologies 00004 * Copyright 2012 WBX 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00019 */ 00020 00021 /** 00022 * @file d_tcp_static.h 00023 * @brief Handle the static chain of the TCP decompression profile 00024 * @author FWX <rohc_team@dialine.fr> 00025 * @author Didier Barvaux <didier@barvaux.org> 00026 * @author Didier Barvaux <didier.barvaux@toulouse.viveris.com> 00027 */ 00028 00029 #ifndef ROHC_DECOMP_TCP_STATIC_H 00030 #define ROHC_DECOMP_TCP_STATIC_H 00031 00032 #include "rohc_decomp_internals.h" 00033 #include "d_tcp_defines.h" 00034 00035 #include <stdbool.h> 00036 #include <stdint.h> 00037 #include <stdlib.h> 00038 00039 bool tcp_parse_static_chain(const struct rohc_decomp_ctxt *const context, 00040 const uint8_t *const rohc_packet, 00041 const size_t rohc_length, 00042 struct rohc_tcp_extr_bits *const bits, 00043 size_t *const parsed_len) 00044 __attribute__((warn_unused_result, nonnull(1, 2, 4, 5))); 00045 00046 #endif /* ROHC_DECOMP_TCP_STATIC_H */ 00047
1.6.1