… | |
… | |
14 | * GNU General Public License for more details. |
14 | * GNU General Public License for more details. |
15 | */ |
15 | */ |
16 | |
16 | |
17 | #ifndef __UUINT_H__ |
17 | #ifndef __UUINT_H__ |
18 | #define __UUINT_H__ |
18 | #define __UUINT_H__ |
|
|
19 | |
|
|
20 | #include <stdio.h> |
|
|
21 | |
|
|
22 | #include "uudeview.h" |
19 | |
23 | |
20 | /* |
24 | /* |
21 | * This file describes the internal structures, variables and definitions |
25 | * This file describes the internal structures, variables and definitions |
22 | * of UUDeview. It should not be included from other packages. Subject to |
26 | * of UUDeview. It should not be included from other packages. Subject to |
23 | * change without notice. Do not depend on anything here. |
27 | * change without notice. Do not depend on anything here. |
… | |
… | |
222 | /* |
226 | /* |
223 | * Functions from uulib.c that aren't defined in <uudeview.h> |
227 | * Functions from uulib.c that aren't defined in <uudeview.h> |
224 | * Be careful about the definition with variable arguments. |
228 | * Be careful about the definition with variable arguments. |
225 | */ |
229 | */ |
226 | |
230 | |
227 | #define UUMessage(level, ...) UUMessage_ (__FILE__, __LINE__, level, __VA_ARGS__) |
231 | #define UUMessage(level, ...) UUMessage_ (__FILE__, __LINE__ * 16 + level, __VA_ARGS__) |
228 | UULIBINT_FUNC int UUMessage_ (char *, int, int, char *, ...); |
232 | UULIBINT_FUNC int UUMessage_ (const char *, int, const char *, ...); |
229 | UULIBINT_FUNC int UUBusyPoll (void); |
233 | UULIBINT_FUNC int UUBusyPoll (void); |
230 | |
234 | |
231 | /* |
235 | /* |
232 | * Functions from uucheck.c |
236 | * Functions from uucheck.c |
233 | */ |
237 | */ |
… | |
… | |
242 | UULIBINT_FUNC void UUkillfread (fileread *); |
246 | UULIBINT_FUNC void UUkillfread (fileread *); |
243 | UULIBINT_FUNC void UUkillfile (uufile *); |
247 | UULIBINT_FUNC void UUkillfile (uufile *); |
244 | UULIBINT_FUNC void UUkilllist (uulist *); |
248 | UULIBINT_FUNC void UUkilllist (uulist *); |
245 | UULIBINT_FUNC void UUkillheaders (headers *); |
249 | UULIBINT_FUNC void UUkillheaders (headers *); |
246 | |
250 | |
247 | UULIBINT_FUNC fileread *ScanPart (FILE *, char *, int *); |
251 | UULIBINT_FUNC fileread *UUScanPart (FILE *, char *, int *); |
248 | |
252 | |
249 | UULIBINT_FUNC int UUbhdecomp (char *, char *, |
253 | UULIBINT_FUNC int UUbhdecomp (char *, char *, |
250 | char *, int *, |
254 | char *, int *, |
251 | size_t, size_t, |
255 | size_t, size_t, |
252 | size_t *); |
256 | size_t *); |
… | |
… | |
256 | * Functions from uunconc.c |
260 | * Functions from uunconc.c |
257 | */ |
261 | */ |
258 | |
262 | |
259 | UULIBINT_FUNC int UURepairData (FILE *, char *, int, int *); |
263 | UULIBINT_FUNC int UURepairData (FILE *, char *, int, int *); |
260 | |
264 | |
261 | UULIBINT_FUNC void UUInitConc _ANSI_ARGS_((void)); |
265 | UULIBINT_FUNC void UUInitConc (void); |
262 | UULIBINT_FUNC int UUValidData _ANSI_ARGS_((char *, int, int *)); |
266 | UULIBINT_FUNC int UUValidData (char *, int, int *); |
263 | UULIBINT_FUNC size_t UUDecodeLine _ANSI_ARGS_((char *, char *, int)); |
267 | UULIBINT_FUNC size_t UUDecodeLine (char *, char *, int); |
264 | UULIBINT_FUNC int UUDecodeField _ANSI_ARGS_((char *, char *, int)); |
268 | UULIBINT_FUNC int UUDecodeField (char *, char *, int); |
265 | UULIBINT_FUNC int UUDecodePart _ANSI_ARGS_((FILE *, FILE *, int *, |
269 | UULIBINT_FUNC int UUDecodePart (FILE *, FILE *, int *, |
266 | long, int, int, char *)); |
270 | long, int, int, char *); |
267 | UULIBINT_FUNC int UUDecode _ANSI_ARGS_((uulist *)); |
271 | UULIBINT_FUNC int UUDecode (uulist *); |
268 | |
272 | |
269 | /* |
273 | /* |
270 | * Message retrieval from uustring.c |
274 | * Message retrieval from uustring.c |
271 | */ |
275 | */ |
272 | |
276 | |