00001 /* 00002 00003 Copyright (c) 2005-2008, Simon Howard 00004 00005 Permission to use, copy, modify, and/or distribute this software 00006 for any purpose with or without fee is hereby granted, provided 00007 that the above copyright notice and this permission notice appear 00008 in all copies. 00009 00010 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 00011 WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 00012 WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 00013 AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR 00014 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 00015 LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 00016 NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 00017 CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 00018 00019 */ 00020 00034 #ifndef ALGORITHM_COMPARE_STRING_H 00035 #define ALGORITHM_COMPARE_STRING_H 00036 00037 #ifdef __cplusplus 00038 extern "C" { 00039 #endif 00040 00050 int string_equal(void *string1, void *string2); 00051 00063 int string_compare(void *string1, void *string2); 00064 00075 int string_nocase_equal(void *string1, void *string2); 00076 00088 int string_nocase_compare(void *string1, void *string2); 00089 00090 #ifdef __cplusplus 00091 } 00092 #endif 00093 00094 #endif /* #ifndef ALGORITHM_COMPARE_STRING_H */ 00095