summaryrefslogtreecommitdiff
path: root/lib/c-strcasestr.h
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:08:14 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:08:14 +0900
commit374d0b57dade4c128ca5b7e51a4b1a91d4af13aa (patch)
tree35a91b2803ca4579f1f4f1098fa55279d928ad35 /lib/c-strcasestr.h
parent61fb427c104d6f2334aaee9c7d90d8287d521b17 (diff)
downloadwget-374d0b57dade4c128ca5b7e51a4b1a91d4af13aa.tar.gz
wget-374d0b57dade4c128ca5b7e51a4b1a91d4af13aa.tar.bz2
wget-374d0b57dade4c128ca5b7e51a4b1a91d4af13aa.zip
Imported Upstream version 1.16.2upstream/1.16.2
Diffstat (limited to 'lib/c-strcasestr.h')
-rw-r--r--lib/c-strcasestr.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/c-strcasestr.h b/lib/c-strcasestr.h
new file mode 100644
index 0000000..3084cd6
--- /dev/null
+++ b/lib/c-strcasestr.h
@@ -0,0 +1,36 @@
+/* Case-insensitive searching in a string in C locale.
+ Copyright (C) 2005, 2009-2015 Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+#ifndef C_STRCASESTR_H
+#define C_STRCASESTR_H
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Find the first occurrence of NEEDLE in HAYSTACK, using case-insensitive
+ comparison. */
+extern char *c_strcasestr (const char *haystack, const char *needle);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif /* C_STRCASESTR_H */