mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
Merge from (earlier) HEAD - doxygen.
I'm not merging the current HEAD string stuff quite yet.
(This used to be commit 9b8d12e081
)
This commit is contained in:
parent
aa4bfd4711
commit
467f1028f4
@ -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…
Reference in New Issue
Block a user