mirror of
https://github.com/samba-team/samba.git
synced 2025-02-07 01:58:28 +03:00
parent
f0aa5e3ff0
commit
cbb5963965
@ -835,8 +835,8 @@ time_t file_modtime(char *fname);
|
||||
BOOL directory_exist(char *dname,struct stat *st);
|
||||
uint32 file_size(char *file_name);
|
||||
char *attrib_string(int mode);
|
||||
int StrCaseCmp(char *s, char *t);
|
||||
int StrnCaseCmp(char *s, char *t, int n);
|
||||
int StrCaseCmp(const char *s, const char *t);
|
||||
int StrnCaseCmp(const char *s, const char *t, int n);
|
||||
BOOL strequal(char *s1,char *s2);
|
||||
BOOL strnequal(char *s1,char *s2,int n);
|
||||
BOOL strcsequal(char *s1,char *s2);
|
||||
|
@ -796,7 +796,7 @@ char *attrib_string(int mode)
|
||||
/*******************************************************************
|
||||
case insensitive string compararison
|
||||
********************************************************************/
|
||||
int StrCaseCmp(char const *s, char const *t)
|
||||
int StrCaseCmp(const char *s, const char *t)
|
||||
{
|
||||
/* compare until we run out of string, either t or s, or find a difference */
|
||||
while (*s && *t && tolower(*s) == tolower(*t))
|
||||
@ -810,7 +810,7 @@ int StrCaseCmp(char const *s, char const *t)
|
||||
/*******************************************************************
|
||||
case insensitive string compararison, length limited
|
||||
********************************************************************/
|
||||
int StrnCaseCmp(char const *s, char const *t, int n)
|
||||
int StrnCaseCmp(const char *s, const char *t, int n)
|
||||
{
|
||||
/* compare until we run out of string, either t or s, or chars */
|
||||
while (n-- && *s && *t && tolower(*s) == tolower(*t))
|
||||
|
Loading…
x
Reference in New Issue
Block a user