00001 /*************************************************************************** 00002 ofx_preproc.h 00003 ------------------- 00004 copyright : (C) 2002 by Benoit Grégoire 00005 email : bock@step.polymtl.ca 00006 ***************************************************************************/ 00012 /*************************************************************************** 00013 * * 00014 * This program is free software; you can redistribute it and/or modify * 00015 * it under the terms of the GNU General Public License as published by * 00016 * the Free Software Foundation; either version 2 of the License, or * 00017 * (at your option) any later version. * 00018 * * 00019 ***************************************************************************/ 00020 #ifndef OFX_PREPROC_H 00021 #define OFX_PREPROC_H 00022 00027 #ifdef MAKEFILE_DTD_PATH 00028 const int DTD_SEARCH_PATH_NUM = 4; 00029 #else 00030 const int DTD_SEARCH_PATH_NUM = 3; 00031 #endif 00032 00037 const char *DTD_SEARCH_PATH[DTD_SEARCH_PATH_NUM] = { 00038 #ifdef MAKEFILE_DTD_PATH 00039 MAKEFILE_DTD_PATH , 00040 #endif 00041 "/usr/local/share/libofx/dtd/", 00042 "/usr/share/libofx/dtd/", 00043 "~/"}; 00044 00046 string sanitize_proprietary_tags(string input_string); 00048 string find_dtd(const int requested_version = 160); 00049 00050 #endif