ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/uudeview.h
(Generate patch)

Comparing Convert-UUlib/uulib/uudeview.h (file contents):
Revision 1.14 by root, Sat Sep 24 07:35:02 2022 UTC vs.
Revision 1.15 by root, Sat Sep 24 10:55:41 2022 UTC

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 */
246extern int (*uu_BusyCallback) (void *, uuprogress *); 238extern int (*uu_BusyCallback) (void *, uuprogress *);
247extern int (*uu_FileCallback) (void *, char *, char *, int); 239extern int (*uu_FileCallback) (void *, char *, char *, int);
248extern char * (*uu_FNameFilter) (void *, char *); 240extern char * (*uu_FNameFilter) (void *, char *);
249extern char * (*uu_FileNameCallback)(void *, char *, char *); 241extern char * (*uu_FileNameCallback)(void *, char *, char *);
250 242
251int UUEXPORT UUInitialize _ANSI_ARGS_((void)); 243int UUEXPORT UUInitialize (void);
252int UUEXPORT UUGetOption _ANSI_ARGS_((int, int *, char *, int)); 244int UUEXPORT UUGetOption (int, int *, char *, int);
253int UUEXPORT UUSetOption _ANSI_ARGS_((int, int, char *)); 245int UUEXPORT UUSetOption (int, int, char *);
254char * UUEXPORT UUstrerror _ANSI_ARGS_((int)); 246char * UUEXPORT UUstrerror (int);
255int UUEXPORT UUSetMsgCallback _ANSI_ARGS_((void *, 247int UUEXPORT UUSetMsgCallback (void *,
256 void (*) (void *, 248 void (*) (void *,
257 char *, 249 char *,
258 int))); 250 int));
259int UUEXPORT UUSetBusyCallback _ANSI_ARGS_((void *, 251int UUEXPORT UUSetBusyCallback (void *,
260 int (*) (void *, 252 int (*) (void *,
261 uuprogress *), 253 uuprogress *),
262 long)); 254 long);
263int UUEXPORT UUSetFileCallback _ANSI_ARGS_((void *, 255int UUEXPORT UUSetFileCallback (void *,
264 int (*) (void *, char *, 256 int (*) (void *, char *,
265 char *, int))); 257 char *, int));
266int UUEXPORT UUSetFNameFilter _ANSI_ARGS_((void *, 258int UUEXPORT UUSetFNameFilter (void *,
267 char * (*) (void *, 259 char * (*) (void *,
268 char *))); 260 char *));
269int UUEXPORT UUSetFileNameCallback _ANSI_ARGS_((void *, 261int UUEXPORT UUSetFileNameCallback (void *,
270 char * (*) (void *, 262 char * (*) (void *,
271 char *, char *))); 263 char *, char *));
272char * UUEXPORT UUFNameFilter _ANSI_ARGS_((char *)); 264char * UUEXPORT UUFNameFilter (char *);
273int UUEXPORT UULoadFile _ANSI_ARGS_((char *, char *, int, int *)); 265int UUEXPORT UULoadFile (char *, char *, int, int *);
274int UUEXPORT UULoadFileWithPartNo _ANSI_ARGS_((char *, char *, int, int, int *)); 266int UUEXPORT UULoadFileWithPartNo (char *, char *, int, int, int *);
275uulist *UUEXPORT UUGetFileListItem _ANSI_ARGS_((int)); 267uulist *UUEXPORT UUGetFileListItem (int);
276int UUEXPORT UURenameFile _ANSI_ARGS_((uulist *, char *)); 268int UUEXPORT UURenameFile (uulist *, char *);
277int UUEXPORT UUDecodeToTemp _ANSI_ARGS_((uulist *)); 269int UUEXPORT UUDecodeToTemp (uulist *);
278int UUEXPORT UURemoveTemp _ANSI_ARGS_((uulist *)); 270int UUEXPORT UURemoveTemp (uulist *);
279int UUEXPORT UUDecodeFile _ANSI_ARGS_((uulist *, char *)); 271int UUEXPORT UUDecodeFile (uulist *, char *);
280int UUEXPORT UUInfoFile _ANSI_ARGS_((uulist *, void *, 272int UUEXPORT UUInfoFile (uulist *, void *,
281 int (*) (void *, 273 int (*) (void *,
282 char *))); 274 char *));
283int UUEXPORT UUSmerge _ANSI_ARGS_((int)); 275int UUEXPORT UUSmerge (int);
284int UUEXPORT UUCleanUp _ANSI_ARGS_((void)); 276int UUEXPORT UUCleanUp (void);
285 277
286int UUEXPORT UUQuickDecode _ANSI_ARGS_((FILE *, FILE *, 278int UUEXPORT UUQuickDecode (FILE *, FILE *,
287 char *, long)); 279 char *, long);
288 280
289int UUEXPORT UUEncodeMulti _ANSI_ARGS_((FILE *, FILE *, 281int UUEXPORT UUEncodeMulti (FILE *, FILE *,
290 char *, int, 282 char *, int,
291 char *, char *, int)); 283 char *, char *, int);
292int UUEXPORT UUEncodePartial _ANSI_ARGS_((FILE *, FILE *, 284int 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 *);
297int UUEXPORT UUEncodeToStream _ANSI_ARGS_((FILE *, FILE *, 289int UUEXPORT UUEncodeToStream (FILE *, FILE *,
298 char *, int, 290 char *, int,
299 char *, int)); 291 char *, int);
300int UUEXPORT UUEncodeToFile _ANSI_ARGS_((FILE *, char *, int, 292int UUEXPORT UUEncodeToFile (FILE *, char *, int,
301 char *, char *, long)); 293 char *, char *, long);
302int UUEXPORT UUE_PrepSingle _ANSI_ARGS_((FILE *, FILE *, 294int 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);
307int UUEXPORT UUE_PrepPartial _ANSI_ARGS_((FILE *, FILE *, 299int 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
313int UUEXPORT UUE_PrepSingleExt _ANSI_ARGS_((FILE *, FILE *, 305int 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);
319int UUEXPORT UUE_PrepPartialExt _ANSI_ARGS_((FILE *, FILE *, 311int 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);
325void UUEXPORT UUCheckGlobalList (void); 317void UUEXPORT UUCheckGlobalList (void);
326#ifdef __cplusplus 318#ifdef __cplusplus
327} 319}
328#endif 320#endif
329#endif 321#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines