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

Comparing Convert-UUlib/uulib/uuint.h (file contents):
Revision 1.2 by root, Mon Jun 11 20:42:37 2001 UTC vs.
Revision 1.2.2.4 by root, Thu Nov 6 13:08:24 2003 UTC

20/* 20/*
21 * This file describes the internal structures, variables and definitions 21 * This file describes the internal structures, variables and definitions
22 * of UUDeview. It should not be included from other packages. Subject to 22 * of UUDeview. It should not be included from other packages. Subject to
23 * change without notice. Do not depend on anything here. 23 * change without notice. Do not depend on anything here.
24 * 24 *
25 * $Id: uuint.h,v 1.2 2001/06/11 20:42:37 root Exp $ 25 * $Id: uuint.h,v 1.2.2.4 2003/11/06 13:08:24 root Exp $
26 */ 26 */
27
28#ifndef _ANSI_ARGS_
29#ifdef PROTOTYPES
30#define _ANSI_ARGS_(c) c
31#else
32#define _ANSI_ARGS_(c) ()
33#endif
34#endif
27 35
28/* 36/*
29 * Busy Polls will be made after processing ... lines 37 * Busy Polls will be made after processing ... lines
30 */ 38 */
31 39
239 247
240extern char *uugen_fnbuffer, *uugen_inbuffer; 248extern char *uugen_fnbuffer, *uugen_inbuffer;
241extern char *uucheck_lastname, *uucheck_tempname; 249extern char *uucheck_lastname, *uucheck_tempname;
242extern char *uuestr_itemp, *uuestr_otemp; 250extern char *uuestr_itemp, *uuestr_otemp;
243extern char *uulib_msgstring, *uuncdl_fulline; 251extern char *uulib_msgstring, *uuncdl_fulline;
244extern char *uuncdp_oline, *uuscan_shlline; 252extern char *uuncdp_oline, *uuscan_shlline, *uuscan_shlline2;
245extern char *uuscan_pvvalue, *uuscan_phtext; 253extern char *uuscan_pvvalue, *uuscan_phtext;
246extern char *uuscan_sdline, *uuscan_sdbhds1; 254extern char *uuscan_sdline, *uuscan_sdbhds1;
247extern char *uuscan_sdbhds2, *uuscan_spline; 255extern char *uuscan_sdbhds2, *uuscan_spline;
248extern char *uuutil_bhwtmp; 256extern char *uuutil_bhwtmp;
249extern char *uunconc_UUxlat, *uunconc_UUxlen; 257extern char *uunconc_UUxlat, *uunconc_UUxlen;
252 260
253#ifdef __cplusplus 261#ifdef __cplusplus
254extern "C" { 262extern "C" {
255#endif 263#endif
256 264
257extern void (*uu_MsgCallback) (void *, char *, int); 265extern void (*uu_MsgCallback) _ANSI_ARGS_((void *, char *, int));
258extern int (*uu_BusyCallback) (void *, uuprogress *); 266extern int (*uu_BusyCallback) _ANSI_ARGS_((void *, uuprogress *));
259extern int (*uu_FileCallback) (void *, char *, char *, int); 267extern int (*uu_FileCallback) _ANSI_ARGS_((void *, char *, char *, int));
260extern char * (*uu_FNameFilter) (void *, char *); 268extern char * (*uu_FNameFilter) _ANSI_ARGS_((void *, char *));
261 269
262/* 270/*
263 * Functions from uulib.c that aren't defined in <uudeview.h> 271 * Functions from uulib.c that aren't defined in <uudeview.h>
264 * Be careful about the definition with variable arguments. 272 * Be careful about the definition with variable arguments.
265 */ 273 */
266 274
267#if defined(STDC_HEADERS) || defined(HAVE_STDARG_H) 275#if defined(STDC_HEADERS) || defined(HAVE_STDARG_H)
268int UUMessage (char *, int, int, char *, ...); 276int UUMessage _ANSI_ARGS_((char *, int,
277 int, char *, ...));
269#else 278#else
270int UUMessage (); 279int UUMessage ();
271#endif 280#endif
272int UUBusyPoll (void); 281int UUBusyPoll _ANSI_ARGS_((void));
273 282
274/* 283/*
275 * Functions from uucheck.c 284 * Functions from uucheck.c
276 */ 285 */
277 286
278uufile * UUPreProcessPart (fileread *, int *); 287uufile * UUPreProcessPart _ANSI_ARGS_((fileread *, int *));
279int UUInsertPartToList (uufile *); 288int UUInsertPartToList _ANSI_ARGS_((uufile *));
280uulist * UUCheckGlobalList (void); 289uulist * UUCheckGlobalList _ANSI_ARGS_((void));
281 290
282/* 291/*
283 * Functions from uuutil.c 292 * Functions from uuutil.c
284 */ 293 */
285 294
286void UUkillfread (fileread *); 295void UUkillfread _ANSI_ARGS_((fileread *));
287void UUkillfile (uufile *); 296void UUkillfile _ANSI_ARGS_((uufile *));
288void UUkilllist (uulist *); 297void UUkilllist _ANSI_ARGS_((uulist *));
289void UUkillheaders (headers *); 298void UUkillheaders _ANSI_ARGS_((headers *));
290 299
291fileread * ScanPart (FILE *, char *, int *); 300fileread * ScanPart _ANSI_ARGS_((FILE *, char *, int *));
292 301
293int UUbhdecomp (char *, char *, 302int UUbhdecomp _ANSI_ARGS_((char *, char *,
294 char *, int *, 303 char *, int *,
295 size_t, size_t, 304 size_t, size_t,
296 size_t *); 305 size_t *));
297size_t UUbhwrite (char *, size_t, size_t, FILE *); 306size_t UUbhwrite _ANSI_ARGS_((char *, size_t, size_t,
307 FILE *));
298 308
299/* 309/*
300 * Functions from uunconc.c 310 * Functions from uunconc.c
301 */ 311 */
302 312
303int UURepairData (FILE *, char *, int, int *); 313int UURepairData _ANSI_ARGS_((FILE *, char *,
314 int, int *));
304 315
305void UUInitConc (void); 316void UUInitConc _ANSI_ARGS_((void));
306int UUValidData (char *, int, int *); 317int UUValidData _ANSI_ARGS_((char *, int, int *));
307size_t UUDecodeLine (char *, char *, int); 318size_t UUDecodeLine _ANSI_ARGS_((char *, char *, int));
308int UUDecodePart (FILE *, FILE *, int *, long, int, int, char *); 319int UUDecodeField _ANSI_ARGS_((char *, char *, int));
320int UUDecodePart _ANSI_ARGS_((FILE *, FILE *, int *,
321 long, int, int, char *));
309int UUDecode (uulist *); 322int UUDecode _ANSI_ARGS_((uulist *));
310 323
311/* 324/*
312 * Message retrieval from uustring.c 325 * Message retrieval from uustring.c
313 */ 326 */
314 327
315char * uustring (int); 328char * uustring _ANSI_ARGS_((int));
316 329
317/* 330/*
318 * From uuscan.c 331 * From uuscan.c
319 */ 332 */
320 333
321int UUScanHeader (FILE *, headers *); 334int UUScanHeader _ANSI_ARGS_((FILE *, headers *));
322 335
323#ifdef __cplusplus 336#ifdef __cplusplus
324} 337}
325#endif 338#endif
326#endif 339#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines