ATLAS Offline Software
Control
CxxUtils
CxxUtils
libcalg
compare-string.h
Go to the documentation of this file.
1
/*
2
3
Copyright (c) 2005-2008, Simon Howard
4
5
Permission to use, copy, modify, and/or distribute this software
6
for any purpose with or without fee is hereby granted, provided
7
that the above copyright notice and this permission notice appear
8
in all copies.
9
10
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
13
AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
14
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
16
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
17
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18
19
*/
20
34
#ifndef ALGORITHM_COMPARE_STRING_H
35
#define ALGORITHM_COMPARE_STRING_H
36
37
#ifdef __cplusplus
38
extern
"C"
{
39
#endif
40
50
int
string_equal
(
void
*string1,
void
*string2);
51
63
int
string_compare
(
void
*string1,
void
*string2);
64
75
int
string_nocase_equal
(
void
*string1,
void
*string2);
76
88
int
string_nocase_compare
(
void
*string1,
void
*string2);
89
90
#ifdef __cplusplus
91
}
92
#endif
93
94
#endif
/* #ifndef ALGORITHM_COMPARE_STRING_H */
95
string_compare
int string_compare(void *string1, void *string2)
Compare two strings.
string_nocase_equal
int string_nocase_equal(void *string1, void *string2)
Compare two strings to determine if they are equal, ignoring the case of letters.
string_equal
int string_equal(void *string1, void *string2)
Compare two strings to determine if they are equal.
string_nocase_compare
int string_nocase_compare(void *string1, void *string2)
Compare two strings, ignoring the case of letters.
Generated on Thu Jan 9 2025 21:08:19 for ATLAS Offline Software by
1.8.18