4 Copyright (C) 1994-2007 Frans Slothouber, Jacco van Weert, Petteri Kettunen,
5 Bernd Koesling, Thomas Aglassinger, Anthon Pang, Stefan Kost, David Druffner,
6 Sasha Vasko, Kai Hofmann, Thierry Pierron, Friedrich Haase, and Gergely Budai.
8 This file is part of ROBODoc
10 ROBODoc is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 3 of the License, or
13 (at your option) any later version.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program. If not, see <http://www.gnu.org/licenses/>.
26 /* TODO all the functions that operate
27 on headers should be in headers.h */
38 void RB_SetCurrentFile(
40 char *RB_GetCurrentFile(
45 void RB_Analyse_Defaults_File(
52 void RB_Insert_In_List(
55 void RB_Remove_From_List(
58 struct RB_header *RB_Alloc_Header(
89 char *RB_Skip_Whitespace(
99 void RB_FputcLatin1ToUtf8(
103 char *sourceFileName,
104 char *destinationFileName );
107 char *wildcard_expression );
124 char *RB_ReadWholeLine(
127 int *arg_readChars );
128 void RB_FreeLineBuffer(
130 char *Path_2_Win32Path(
135 void Make_crc32_table(
137 unsigned long RB_crc32(
140 unsigned long crc32 );
142 char *RB_Get_Saved_CWD(
144 void RB_Change_To_Docdir(
145 struct RB_Document *document );
146 void RB_Change_Back_To_CWD(
157 const char *funcname,
162 int utf8_isalnum(unsigned int arg_c);
163 int utf8_isalpha(unsigned int arg_c);
164 int utf8_iscntrl(unsigned int arg_c);
165 int utf8_isdigit(unsigned int arg_c);
166 int utf8_isgraph(unsigned int arg_c);
167 int utf8_islower(unsigned int arg_c);
168 int utf8_isprint(unsigned int arg_c);
169 int utf8_ispunct(unsigned int arg_c);
170 int utf8_isspace(unsigned int arg_c);
171 int utf8_isxdigit(unsigned int arg_c);
174 /****f* Utilities/RB_Mem_Check
176 * Check for memory allocation failures.
180 #define RB_Mem_Check(ptr) if (!ptr) RB_Panic("%s:%s:%d: Out of memory!\n", __FILE__, __FUNCTION__, __LINE__)
184 #endif /* ROBODOC_UTIL_H */