ROHC compression/decompression library
Defines | Typedefs | Enumerations
rohc_traces.h File Reference

ROHC definitions for traces. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ROHC_PROFILE_GENERAL   0xffff

Typedefs

typedef void(* rohc_trace_callback_t )(const rohc_trace_level_t level, const rohc_trace_entity_t entity, const int profile, const char *const format,...) __attribute__((format(printf
 The function prototype for the trace callback.

Enumerations

enum  rohc_trace_level_t {
  ROHC_TRACE_DEBUG = 0, ROHC_TRACE_INFO = 1, ROHC_TRACE_WARNING = 2, ROHC_TRACE_ERROR = 3,
  ROHC_TRACE_LEVEL_MAX
}
enum  rohc_trace_entity_t { ROHC_TRACE_COMP = 0, ROHC_TRACE_DECOMP = 1, ROHC_TRACE_ENTITY_MAX }

Detailed Description

ROHC definitions for traces.

Author:
Julien Bernard <julien.bernard@toulouse.viveris.com>
Audric Schiltknecht <audric.schiltknecht@toulouse.viveris.com>
Didier Barvaux <didier@barvaux.org>

Define Documentation

#define ROHC_PROFILE_GENERAL   0xffff

Typedef Documentation

typedef void(* rohc_trace_callback_t)(const rohc_trace_level_t level, const rohc_trace_entity_t entity, const int profile, const char *const format,...)__attribute__((format(printf

The function prototype for the trace callback.

Parameters:
levelThe level of the message,
See also:
rohc_trace_level_t
Parameters:
entityThe entity concerned by the traces,
See also:
rohc_trace_entity_t
Parameters:
profileThe number of the profile concerned by the message
formatThe format string for the trace message

Enumeration Type Documentation

The different entities concerned by the traces

Enumerator:
ROHC_TRACE_COMP 
ROHC_TRACE_DECOMP 
ROHC_TRACE_ENTITY_MAX 

The different levels of the traces

Enumerator:
ROHC_TRACE_DEBUG 
ROHC_TRACE_INFO 
ROHC_TRACE_WARNING 
ROHC_TRACE_ERROR 
ROHC_TRACE_LEVEL_MAX