On Sep 17, 2014, at 9:13 AM, Eitan Eliahu <[email protected]> wrote:
>
> How about using RtlEqualString() ?
>
>
> Str1.MaximumLength = 16;
> Str1.Buffer = &AnsiString;
>
> if (!RtlEqualString( &str1, &str2, TRUE ){
>
> }
Eitan,
I considered using RtlEqualString(), but backed off since it used STRING
objects. Looks like there's a convenient RtlInitString(). I'll update the patch
to use these functions.
Sam,
As much as possible I want to stick to using Rtl* functions for memory/string
manipulation. Hence I am not using strncmp().
thanks,
Nithin
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev