MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / compare_names

Function compare_names

libcppcryptfs/util/util.cpp:581–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579}
580
581int compare_names(CryptContext *con, LPCWSTR name1, LPCWSTR name2)
582{
583 if (con->IsCaseInsensitive()) {
584 return lstrcmpi(name1, name2);
585 } else {
586 return wcscmp(name1, name2);
587 }
588}
589
590template <typename T> bool test_zero_bytes(const BYTE *buf, size_t len)
591{

Callers 1

Calls 1

IsCaseInsensitiveMethod · 0.80

Tested by

no test coverage detected