annotate lib/c-strcasestr.h @ 9258:bee5960c276a

Rename search_.h to search.in.h.
author Bruno Haible <bruno@clisp.org>
date Tue, 02 Oct 2007 00:24:48 +0200
parents 74a5018452c0
children bbbbbf4cd1c5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6360
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 /* Case-insensitive searching in a string in C locale.
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 Copyright (C) 2005 Free Software Foundation, Inc.
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 This program is free software; you can redistribute it and/or modify
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 it under the terms of the GNU General Public License as published by
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 the Free Software Foundation; either version 2, or (at your option)
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 any later version.
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 This program is distributed in the hope that it will be useful,
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 GNU General Public License for more details.
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 You should have received a copy of the GNU General Public License
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 along with this program; if not, write to the Free Software Foundation,
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 #ifndef C_STRCASESTR_H
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 #define C_STRCASESTR_H
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 #ifdef __cplusplus
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 extern "C" {
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 #endif
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 /* Find the first occurrence of NEEDLE in HAYSTACK, using case-insensitive
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 comparison. */
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 extern char *c_strcasestr (const char *haystack, const char *needle);
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32 #ifdef __cplusplus
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33 }
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34 #endif
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
35
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
36
74a5018452c0 New module 'c-strcasestr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
37 #endif /* C_STRCASESTR_H */