ROHC compression/decompression library
list_ipv6.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2013 Didier Barvaux
00003  * Copyright 2007,2008 Thales Alenia Space
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   /comp/schemes/list_ipv6.h
00022  * @brief  ROHC list compression of IPv6 extension headers
00023  * @author Didier Barvaux <didier@barvaux.org>
00024  */
00025 
00026 #ifndef ROHC_COMP_LIST_IPV6_H
00027 #define ROHC_COMP_LIST_IPV6_H
00028 
00029 #include "comp/schemes/list.h"
00030 
00031 
00032 void ROHC_EXPORT rohc_comp_list_ipv6_new(struct list_comp *const comp,
00033                                          const size_t list_trans_nr,
00034 #if !defined(ROHC_ENABLE_DEPRECATED_API) || ROHC_ENABLE_DEPRECATED_API == 1
00035                                          rohc_trace_callback_t trace_cb,
00036 #endif
00037                                          rohc_trace_callback2_t trace_cb2,
00038                                          void *const trace_cb_priv,
00039                                          const int profile_id)
00040         __attribute__((nonnull(1)));
00041 
00042 void ROHC_EXPORT rohc_comp_list_ipv6_free(struct list_comp *const comp)
00043         __attribute__((nonnull(1)));
00044 
00045 #endif
00046