rohc_profile_get_other_version

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUE
SEE ALSO

NAME

rohc_profile_get_other_version − Get the other version of the given profile.

SYNOPSIS

#include <rohc/rohc.h>

rohc_profile_t rohc_profile_get_other_version(
const rohc_profile_t profile

);

DESCRIPTION

PARAMETERS

profile

The profile ID for which to get the other version

RETURN VALUE

The ROHCv1 profile if the given one is ROHCv2, the ROHCv2 profile if the given one is ROHCv1, ROHC_PROFILE_MAX otherwise

SEE ALSO

rohc.h(3)