… | |
… | |
22 | /* |
22 | /* |
23 | * This include file features all the definitions that should |
23 | * This include file features all the definitions that should |
24 | * be externally visible. This isn't much. |
24 | * be externally visible. This isn't much. |
25 | */ |
25 | */ |
26 | |
26 | |
27 | #ifndef _ANSI_ARGS_ |
|
|
28 | #ifdef PROTOTYPES |
|
|
29 | #define _ANSI_ARGS_(c) c |
|
|
30 | #else |
|
|
31 | #define _ANSI_ARGS_(c) () |
|
|
32 | #endif |
|
|
33 | #endif |
|
|
34 | |
|
|
35 | /* |
27 | /* |
36 | * Message Types |
28 | * Message Types |
37 | */ |
29 | */ |
38 | |
30 | |
39 | #define UUMSG_MESSAGE (0) /* just a message, nothing important */ |
31 | #define UUMSG_MESSAGE (0) /* just a message, nothing important */ |
… | |
… | |
53 | #define UURET_ILLVAL (3) /* illegal value for operation */ |
45 | #define UURET_ILLVAL (3) /* illegal value for operation */ |
54 | #define UURET_NODATA (4) /* decoder didn't find any data */ |
46 | #define UURET_NODATA (4) /* decoder didn't find any data */ |
55 | #define UURET_NOEND (5) /* encoded data wasn't ended properly */ |
47 | #define UURET_NOEND (5) /* encoded data wasn't ended properly */ |
56 | #define UURET_UNSUP (6) /* unsupported function (encoding) */ |
48 | #define UURET_UNSUP (6) /* unsupported function (encoding) */ |
57 | #define UURET_EXISTS (7) /* file exists (decoding) */ |
49 | #define UURET_EXISTS (7) /* file exists (decoding) */ |
58 | #define UURET_CONT (8) /* continue -- special from ScanPart */ |
50 | #define UURET_CONT (8) /* continue -- special from UUScanPart */ |
59 | #define UURET_CANCEL (9) /* operation canceled */ |
51 | #define UURET_CANCEL (9) /* operation canceled */ |
60 | |
52 | |
61 | /* |
53 | /* |
62 | * File states, may be OR'ed |
54 | * File states, may be OR'ed |
63 | */ |
55 | */ |
… | |
… | |
246 | extern int (*uu_BusyCallback) (void *, uuprogress *); |
238 | extern int (*uu_BusyCallback) (void *, uuprogress *); |
247 | extern int (*uu_FileCallback) (void *, char *, char *, int); |
239 | extern int (*uu_FileCallback) (void *, char *, char *, int); |
248 | extern char * (*uu_FNameFilter) (void *, char *); |
240 | extern char * (*uu_FNameFilter) (void *, char *); |
249 | extern char * (*uu_FileNameCallback)(void *, char *, char *); |
241 | extern char * (*uu_FileNameCallback)(void *, char *, char *); |
250 | |
242 | |
251 | int UUEXPORT UUInitialize _ANSI_ARGS_((void)); |
243 | int UUEXPORT UUInitialize (void); |
252 | int UUEXPORT UUGetOption _ANSI_ARGS_((int, int *, char *, int)); |
244 | int UUEXPORT UUGetOption (int, int *, char *, int); |
253 | int UUEXPORT UUSetOption _ANSI_ARGS_((int, int, char *)); |
245 | int UUEXPORT UUSetOption (int, int, char *); |
254 | char * UUEXPORT UUstrerror _ANSI_ARGS_((int)); |
246 | char * UUEXPORT UUstrerror (int); |
255 | int UUEXPORT UUSetMsgCallback _ANSI_ARGS_((void *, |
247 | int UUEXPORT UUSetMsgCallback (void *, |
256 | void (*) (void *, |
248 | void (*) (void *, |
257 | char *, |
249 | char *, |
258 | int))); |
250 | int)); |
259 | int UUEXPORT UUSetBusyCallback _ANSI_ARGS_((void *, |
251 | int UUEXPORT UUSetBusyCallback (void *, |
260 | int (*) (void *, |
252 | int (*) (void *, |
261 | uuprogress *), |
253 | uuprogress *), |
262 | long)); |
254 | long); |
263 | int UUEXPORT UUSetFileCallback _ANSI_ARGS_((void *, |
255 | int UUEXPORT UUSetFileCallback (void *, |
264 | int (*) (void *, char *, |
256 | int (*) (void *, char *, |
265 | char *, int))); |
257 | char *, int)); |
266 | int UUEXPORT UUSetFNameFilter _ANSI_ARGS_((void *, |
258 | int UUEXPORT UUSetFNameFilter (void *, |
267 | char * (*) (void *, |
259 | char * (*) (void *, |
268 | char *))); |
260 | char *)); |
269 | int UUEXPORT UUSetFileNameCallback _ANSI_ARGS_((void *, |
261 | int UUEXPORT UUSetFileNameCallback (void *, |
270 | char * (*) (void *, |
262 | char * (*) (void *, |
271 | char *, char *))); |
263 | char *, char *)); |
272 | char * UUEXPORT UUFNameFilter _ANSI_ARGS_((char *)); |
264 | char * UUEXPORT UUFNameFilter (char *); |
273 | int UUEXPORT UULoadFile _ANSI_ARGS_((char *, char *, int, int *)); |
265 | int UUEXPORT UULoadFile (char *, char *, int, int *); |
274 | int UUEXPORT UULoadFileWithPartNo _ANSI_ARGS_((char *, char *, int, int, int *)); |
266 | int UUEXPORT UULoadFileWithPartNo (char *, char *, int, int, int *); |
275 | uulist *UUEXPORT UUGetFileListItem _ANSI_ARGS_((int)); |
267 | uulist *UUEXPORT UUGetFileListItem (int); |
276 | int UUEXPORT UURenameFile _ANSI_ARGS_((uulist *, char *)); |
268 | int UUEXPORT UURenameFile (uulist *, char *); |
277 | int UUEXPORT UUDecodeToTemp _ANSI_ARGS_((uulist *)); |
269 | int UUEXPORT UUDecodeToTemp (uulist *); |
278 | int UUEXPORT UURemoveTemp _ANSI_ARGS_((uulist *)); |
270 | int UUEXPORT UURemoveTemp (uulist *); |
279 | int UUEXPORT UUDecodeFile _ANSI_ARGS_((uulist *, char *)); |
271 | int UUEXPORT UUDecodeFile (uulist *, char *); |
280 | int UUEXPORT UUInfoFile _ANSI_ARGS_((uulist *, void *, |
272 | int UUEXPORT UUInfoFile (uulist *, void *, |
281 | int (*) (void *, |
273 | int (*) (void *, |
282 | char *))); |
274 | char *)); |
283 | int UUEXPORT UUSmerge _ANSI_ARGS_((int)); |
275 | int UUEXPORT UUSmerge (int); |
284 | int UUEXPORT UUCleanUp _ANSI_ARGS_((void)); |
276 | int UUEXPORT UUCleanUp (void); |
285 | |
277 | |
286 | int UUEXPORT UUQuickDecode _ANSI_ARGS_((FILE *, FILE *, |
278 | int UUEXPORT UUQuickDecode (FILE *, FILE *, |
287 | char *, long)); |
279 | char *, long); |
288 | |
280 | |
289 | int UUEXPORT UUEncodeMulti _ANSI_ARGS_((FILE *, FILE *, |
281 | int UUEXPORT UUEncodeMulti (FILE *, FILE *, |
290 | char *, int, |
282 | char *, int, |
291 | char *, char *, int)); |
283 | char *, char *, int); |
292 | int UUEXPORT UUEncodePartial _ANSI_ARGS_((FILE *, FILE *, |
284 | int UUEXPORT UUEncodePartial (FILE *, FILE *, |
293 | char *, int, |
285 | char *, int, |
294 | char *, char *, |
286 | char *, char *, |
295 | int, int, long, |
287 | int, int, long, |
296 | unsigned int *)); |
288 | unsigned int *); |
297 | int UUEXPORT UUEncodeToStream _ANSI_ARGS_((FILE *, FILE *, |
289 | int UUEXPORT UUEncodeToStream (FILE *, FILE *, |
298 | char *, int, |
290 | char *, int, |
299 | char *, int)); |
291 | char *, int); |
300 | int UUEXPORT UUEncodeToFile _ANSI_ARGS_((FILE *, char *, int, |
292 | int UUEXPORT UUEncodeToFile (FILE *, char *, int, |
301 | char *, char *, long)); |
293 | char *, char *, long); |
302 | int UUEXPORT UUE_PrepSingle _ANSI_ARGS_((FILE *, FILE *, |
294 | int UUEXPORT UUE_PrepSingle (FILE *, FILE *, |
303 | char *, int, |
295 | char *, int, |
304 | char *, int, |
296 | char *, int, |
305 | char *, char *, |
297 | char *, char *, |
306 | char *, int)); |
298 | char *, int); |
307 | int UUEXPORT UUE_PrepPartial _ANSI_ARGS_((FILE *, FILE *, |
299 | int UUEXPORT UUE_PrepPartial (FILE *, FILE *, |
308 | char *, int, |
300 | char *, int, |
309 | char *, int, |
301 | char *, int, |
310 | int, long, long, char *, |
302 | int, long, long, char *, |
311 | char *, char *, int)); |
303 | char *, char *, int); |
312 | |
304 | |
313 | int UUEXPORT UUE_PrepSingleExt _ANSI_ARGS_((FILE *, FILE *, |
305 | int UUEXPORT UUE_PrepSingleExt (FILE *, FILE *, |
314 | char *, int, |
306 | char *, int, |
315 | char *, int, |
307 | char *, int, |
316 | char *, char *, |
308 | char *, char *, |
317 | char *, char *, |
309 | char *, char *, |
318 | int)); |
310 | int); |
319 | int UUEXPORT UUE_PrepPartialExt _ANSI_ARGS_((FILE *, FILE *, |
311 | int UUEXPORT UUE_PrepPartialExt (FILE *, FILE *, |
320 | char *, int, |
312 | char *, int, |
321 | char *, int, |
313 | char *, int, |
322 | int, long, long, char *, |
314 | int, long, long, char *, |
323 | char *, char *, char *, |
315 | char *, char *, char *, |
324 | int)); |
316 | int); |
325 | void UUEXPORT UUCheckGlobalList (void); |
317 | void UUEXPORT UUCheckGlobalList (void); |
326 | #ifdef __cplusplus |
318 | #ifdef __cplusplus |
327 | } |
319 | } |
328 | #endif |
320 | #endif |
329 | #endif |
321 | #endif |