37 # include <inttypes.h>
42 #if defined __GNUC__ && \
43 (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5))
45 #define ROHC_DEPRECATED(msg) __attribute__((deprecated(msg)))
46 #elif defined __GNUC__ && \
47 (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
49 #define ROHC_DEPRECATED(msg) __attribute__((deprecated))
52 #define ROHC_DEPRECATED(msg)
58 # define ROHC_EXPORT __declspec(dllexport)
71 #define ROHC_ETHERTYPE 0x22f1
134 #define ROHC_LARGE_CID_MAX ((1U << 14) - 1)
150 #define ROHC_SMALL_CID_MAX 15U
245 __attribute__((warn_unused_result, const));
248 __attribute__((warn_unused_result, const));
251 __attribute__((warn_unused_result, const));
254 __attribute__((warn_unused_result, const));
size_t rohc_cid_t
Definition: rohc.h:195
rohc_mode_t
ROHC operation modes.
Definition: rohc.h:111
rohc_status_t
The status code of several functions in the library API.
Definition: rohc.h:79
rohc_cid_type_t
The different types of Context IDs (CID)
Definition: rohc.h:176
char *ROHC_EXPORT rohc_version(void)
Get the version of the ROHC library.
Definition: rohc_common.c:54
The context uses large CID.
Definition: rohc.h:183
The context uses small CID.
Definition: rohc.h:189
const char *ROHC_EXPORT rohc_strerror(const rohc_status_t status)
Give a description for the given ROHC status code.
Definition: rohc_common.c:75
const char *ROHC_EXPORT rohc_get_mode_descr(const rohc_mode_t mode)
Give a description for the given ROHC mode.
Definition: rohc_common.c:114
const struct rohc_decomp_profile * profile
Definition: rohc_decomp_internals.h:283
#define ROHC_EXPORT
Definition: rohc.h:60
rohc_mode_t mode
Definition: rohc_decomp_internals.h:290
rohc_profile_t
The different ROHC compression/decompression profiles.
Definition: rohc.h:212
const char *ROHC_EXPORT rohc_get_profile_descr(const rohc_profile_t profile)
Give a description for the given ROHC profile.
Definition: rohc_common.c:146