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 #ifdef HAVE_CONFIG_H 00021 #include <config.h> 00022 #endif 00023 00024 #include "string_common.h" 00025 00026 #ifndef __esysax_types__h__ 00027 #define __esysax_types__h__ 00028 00029 #ifdef __cplusplus 00030 extern "C" { 00031 #endif /* __cplusplus */ 00032 00033 00039 typedef CString Text; 00040 00042 typedef CString Tag; 00043 00045 typedef Tag OpenTag; 00046 00048 typedef Tag CloseTag; 00049 00051 typedef CString Error; 00052 00054 typedef CString Attribute; 00055 00057 typedef CString Value; 00058 00060 struct _AttValue { 00061 00062 Attribute attribute; 00063 Value value; 00064 }; 00065 typedef struct _AttValue AttValue; 00068 #ifdef __cplusplus 00069 } 00070 #endif /* __cplusplus */ 00071 #endif /* __esysax_types__h__ */