ROHC compression/decompression library
rohc_add_cid.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2013 Didier Barvaux
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00017  */
00018 
00019 /**
00020  * @file   rohc_add_cid.h
00021  * @brief  Functions related to ROHC add-CID
00022  * @author Didier Barvaux <didier.barvaux@toulouse.viveris.com>
00023  * @author Didier Barvaux <didier@barvaux.org>
00024  */
00025 
00026 #ifndef ROHC_ADD_CID_H
00027 #define ROHC_ADD_CID_H
00028 
00029 #include "dllexport.h"
00030 
00031 #include <stddef.h>
00032 #include <stdint.h>
00033 #ifdef __KERNEL__
00034 #       include <linux/types.h>
00035 #else
00036 #       include <stdbool.h>
00037 #endif
00038 
00039 /*
00040  * Function prototypes
00041  */
00042 
00043 bool ROHC_EXPORT rohc_add_cid_is_present(const uint8_t *const data)
00044         __attribute__((warn_unused_result, nonnull(1), pure));
00045 
00046 uint8_t ROHC_EXPORT rohc_add_cid_decode(const uint8_t *const data)
00047         __attribute__((warn_unused_result, nonnull(1), pure));
00048 
00049 #endif
00050