00001 /* 00002 * Copyright (c) 2010, Boris Popov <popov.b@gmail.com> 00003 * 00004 * Permission to use, copy, modify, and/or distribute 00005 * this software for any purpose with or without fee 00006 * is hereby granted, provided that the above copyright 00007 * notice and this permission notice appear in all copies. 00008 * 00009 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS 00010 * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL 00011 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. 00012 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, 00013 * DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 00014 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 00015 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 00016 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH 00017 * THE USE OR PERFORMANCE OF THIS SOFTWARE. 00018 */ 00019 00020 #include "bool.h" 00021 00022 #ifdef HAVE_CONFIG_H 00023 #include <config.h> 00024 #endif 00025 00026 #ifndef __string_common__h__ 00027 #define __string_common__h__ 00028 00029 #ifdef __cplusplus 00030 extern "C" { 00031 #endif /* __cplusplus */ 00032 00033 00039 typedef const char* CString; 00042 Bool IsIt (const char ch1, const char ch2); 00043 00044 00045 #ifdef __cplusplus 00046 } 00047 #endif /* __cplusplus */ 00048 #endif /* __string_common__h__ */