rohc_profile_get_other_version − Get the other version of the given profile.
#include <rohc/rohc.h>
rohc_profile_t
rohc_profile_get_other_version(
const rohc_profile_t profile
);
profile
The profile ID for which to get the other version
The ROHCv1 profile if the given one is ROHCv2, the ROHCv2 profile if the given one is ROHCv1, ROHC_PROFILE_MAX otherwise
rohc.h(3)