ROHC compression/decompression library
comp_list_ipv6.h
Go to the documentation of this file.
1 /*
2  * Copyright 2013 Didier Barvaux
3  * Copyright 2007,2008 Thales Alenia Space
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 schemes/comp_list_ipv6.h
22  * @brief ROHC list compression of IPv6 extension headers
23  * @author Didier Barvaux <didier@barvaux.org>
24  */
25 
26 #ifndef ROHC_COMP_LIST_IPV6_H
27 #define ROHC_COMP_LIST_IPV6_H
28 
29 #include "schemes/comp_list.h"
30 
31 
32 void rohc_comp_list_ipv6_new(struct list_comp *const comp,
33  const size_t list_trans_nr,
34  rohc_trace_callback2_t trace_cb,
35  void *const trace_cb_priv,
36  const int profile_id)
37  __attribute__((nonnull(1)));
38 
39 void rohc_comp_list_ipv6_free(struct list_comp *const comp)
40  __attribute__((nonnull(1)));
41 
42 #endif
43 
void rohc_comp_list_ipv6_free(struct list_comp *const comp)
Free one context for compressing lists of IPv6 extension headers.
Definition: comp_list_ipv6.c:96
ROHC generic list compression.
void(* rohc_trace_callback2_t)(void *const priv_ctxt, const rohc_trace_level_t level, const rohc_trace_entity_t entity, const int profile, const char *const format,...)
The function prototype for the trace callback.
Definition: rohc_traces.h:118
The list compressor.
Definition: comp_list.h:42
void rohc_comp_list_ipv6_new(struct list_comp *const comp, const size_t list_trans_nr, rohc_trace_callback2_t trace_cb, void *const trace_cb_priv, const int profile_id)
Create one context for compressing lists of IPv6 extension headers.
Definition: comp_list_ipv6.c:53