summaryrefslogtreecommitdiff
path: root/source3/lib/util_str.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-17 22:42:01 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-17 22:42:01 +0000
commit467f1028f44f96cffac8f81a6d921c82d9242bed (patch)
tree8e7149f78146c61719a09b274b23fbee330ad506 /source3/lib/util_str.c
parentaa4bfd47113e0212aa72be067c20da56b8381648 (diff)
downloadsamba-467f1028f44f96cffac8f81a6d921c82d9242bed.tar.gz
samba-467f1028f44f96cffac8f81a6d921c82d9242bed.tar.bz2
samba-467f1028f44f96cffac8f81a6d921c82d9242bed.zip
Merge from (earlier) HEAD - doxygen.
I'm not merging the current HEAD string stuff quite yet. (This used to be commit 9b8d12e081462566043bb51e9c95605609572a54)
Diffstat (limited to 'source3/lib/util_str.c')
-rw-r--r--source3/lib/util_str.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index cc4b6fe5c5..070c59c1b2 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -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)