[Kamailio-Devel] Function to compare two strings as case insensitive?
Henning Westerholt
henning.westerholt at 1und1.de
Mon Mar 16 12:13:29 CET 2009
On Saturday 14 March 2009, Ovidiu Sas wrote:
> If you need to compare openser str, then you can use strncmp()
Hi Ovidiu,
in the ut.h file there are also two small wrappers around this function
for 'str' types available, str_strcmp and str_strcasecmp. They do some input
parameter checks and can check directly for the length.
Cheers,
Henning
More information about the Devel
mailing list