diff options
author | Nithin Raju <nithin@vmware.com> | 2014-09-19 14:30:53 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2014-09-19 14:36:55 -0700 |
commit | 824c061a995d8bbcb3c78c750ebbae6859660998 (patch) | |
tree | 3d85b974ce4838b4c8a07b7304c177921161f121 /datapath-windows/ovsext/Util.h | |
parent | db8823415f79d09297843558d4a3f962d1937b3c (diff) | |
download | openvswitch-824c061a995d8bbcb3c78c750ebbae6859660998.tar.gz |
datapath-windows: add OvsCompareString() to compare strings
In this patch we implement a utility function to compare ANSI
strings using the Rtl* functions. As much as possible, in an
NDIS driver, we stick to Rtl* functions for memory/string
manipulation.
Signed-off-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath-windows/ovsext/Util.h')
-rw-r--r-- | datapath-windows/ovsext/Util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/datapath-windows/ovsext/Util.h b/datapath-windows/ovsext/Util.h index c45d48881..e75220931 100644 --- a/datapath-windows/ovsext/Util.h +++ b/datapath-windows/ovsext/Util.h @@ -75,4 +75,6 @@ VOID OvsAppendList(PLIST_ENTRY dst, PLIST_ENTRY src); #define BIT16(_x) ((UINT16)0x1 << (_x)) #define BIT32(_x) ((UINT32)0x1 << (_x)) +BOOLEAN OvsCompareString(PVOID string1, PVOID string2); + #endif /* __UTIL_H_ */ |