ROHC compression/decompression library
Defines
rohc_utils.h File Reference

Miscellaneous utils for ROHC libraries. More...

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

Go to the source code of this file.

Defines

#define rohc_max(value1, value2)   ( ((value1) >= (value2)) ? (value1) : (value2) )
#define rohc_min(value1, value2)   ( ((value1) <= (value2)) ? (value1) : (value2) )

Detailed Description

Miscellaneous utils for ROHC libraries.

Author:
Didier Barvaux <didier@barvaux.org>

Define Documentation

#define rohc_max (   value1,
  value2 
)    ( ((value1) >= (value2)) ? (value1) : (value2) )

Get the max value of the 2 given

#define rohc_min (   value1,
  value2 
)    ( ((value1) <= (value2)) ? (value1) : (value2) )

Get the max value of the 2 given

Referenced by code_UOR2_TS_bytes().