mirror of
https://github.com/samba-team/samba.git
synced 2025-02-05 21:57:51 +03:00
Merge from (earlier) HEAD - doxygen.
I'm not merging the current HEAD string stuff quite yet.
This commit is contained in:
parent
f0daa15521
commit
9b8d12e081
@ -164,9 +164,10 @@ int StrnCaseCmp(const char *s, const char *t, size_t n)
|
||||
}
|
||||
|
||||
/**
|
||||
Compare 2 strings.
|
||||
**/
|
||||
|
||||
* Compare 2 strings.
|
||||
*
|
||||
* @note The comparison is case-insensitive.
|
||||
**/
|
||||
BOOL strequal(const char *s1, const char *s2)
|
||||
{
|
||||
if (s1 == s2)
|
||||
@ -178,9 +179,10 @@ BOOL strequal(const char *s1, const char *s2)
|
||||
}
|
||||
|
||||
/**
|
||||
Compare 2 strings up to and including the nth char.
|
||||
**/
|
||||
|
||||
* Compare 2 strings up to and including the nth char.
|
||||
*
|
||||
* @note The comparison is case-insensitive.
|
||||
**/
|
||||
BOOL strnequal(const char *s1,const char *s2,size_t n)
|
||||
{
|
||||
if (s1 == s2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user