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.2.3 by root, Sun Oct 13 13:03:08 2002 UTC vs.
Revision 1.6 by root, Thu Nov 6 13:33:41 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.2.3 2002/10/13 13:03:08 root Exp $ 25 * $Id: uuint.h,v 1.6 2003/11/06 13:33:41 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
35 27
36/* 28/*
37 * Busy Polls will be made after processing ... lines 29 * Busy Polls will be made after processing ... lines
38 */ 30 */
39 31
183 175
184extern void *uu_MsgCBArg; 176extern void *uu_MsgCBArg;
185extern void *uu_BusyCBArg; 177extern void *uu_BusyCBArg;
186extern void *uu_FileCBArg; 178extern void *uu_FileCBArg;
187extern void *uu_FFCBArg; 179extern void *uu_FFCBArg;
180extern void *uu_FNCBArg;
188 181
189/* 182/*
190 * variables 183 * variables
191 */ 184 */
192 185
204extern int uu_usepreamble; 197extern int uu_usepreamble;
205extern int uu_handletext; 198extern int uu_handletext;
206extern int uu_tinyb64; 199extern int uu_tinyb64;
207extern int uu_remove_input; 200extern int uu_remove_input;
208extern int uu_more_mime; 201extern int uu_more_mime;
202extern int uu_dotdot;
209 203
210extern char *uusavepath; 204extern char *uusavepath;
211extern char *uuencodeext; 205extern char *uuencodeext;
212 206
213/* 207/*
247 241
248extern char *uugen_fnbuffer, *uugen_inbuffer; 242extern char *uugen_fnbuffer, *uugen_inbuffer;
249extern char *uucheck_lastname, *uucheck_tempname; 243extern char *uucheck_lastname, *uucheck_tempname;
250extern char *uuestr_itemp, *uuestr_otemp; 244extern char *uuestr_itemp, *uuestr_otemp;
251extern char *uulib_msgstring, *uuncdl_fulline; 245extern char *uulib_msgstring, *uuncdl_fulline;
252extern char *uuncdp_oline, *uuscan_shlline; 246extern char *uuncdp_oline, *uuscan_shlline, *uuscan_shlline2;
253extern char *uuscan_pvvalue, *uuscan_phtext; 247extern char *uuscan_pvvalue, *uuscan_phtext;
254extern char *uuscan_sdline, *uuscan_sdbhds1; 248extern char *uuscan_sdline, *uuscan_sdbhds1;
255extern char *uuscan_sdbhds2, *uuscan_spline; 249extern char *uuscan_sdbhds2, *uuscan_spline;
256extern char *uuutil_bhwtmp; 250extern char *uuutil_bhwtmp;
257extern char *uunconc_UUxlat, *uunconc_UUxlen; 251extern char *uunconc_UUxlat, *uunconc_UUxlen;
260 254
261#ifdef __cplusplus 255#ifdef __cplusplus
262extern "C" { 256extern "C" {
263#endif 257#endif
264 258
265extern void (*uu_MsgCallback) _ANSI_ARGS_((void *, char *, int)); 259extern void (*uu_MsgCallback) (void *, char *, int);
266extern int (*uu_BusyCallback) _ANSI_ARGS_((void *, uuprogress *)); 260extern int (*uu_BusyCallback) (void *, uuprogress *);
267extern int (*uu_FileCallback) _ANSI_ARGS_((void *, char *, char *, int)); 261extern int (*uu_FileCallback) (void *, char *, char *, int);
268extern char * (*uu_FNameFilter) _ANSI_ARGS_((void *, char *)); 262extern char * (*uu_FNameFilter) (void *, char *);
263extern char * (*uu_FileNameCallback)(void *, char *, char *);
269 264
270/* 265/*
271 * Functions from uulib.c that aren't defined in <uudeview.h> 266 * Functions from uulib.c that aren't defined in <uudeview.h>
272 * Be careful about the definition with variable arguments. 267 * Be careful about the definition with variable arguments.
273 */ 268 */
274 269
275#if defined(STDC_HEADERS) || defined(HAVE_STDARG_H) 270#if defined(STDC_HEADERS) || defined(HAVE_STDARG_H)
276int UUMessage _ANSI_ARGS_((char *, int, 271int UUMessage (char *, int, int, char *, ...);
277 int, char *, ...));
278#else 272#else
279int UUMessage (); 273int UUMessage ();
280#endif 274#endif
281int UUBusyPoll _ANSI_ARGS_((void)); 275int UUBusyPoll (void);
282 276
283/* 277/*
284 * Functions from uucheck.c 278 * Functions from uucheck.c
285 */ 279 */
286 280
287uufile * UUPreProcessPart _ANSI_ARGS_((fileread *, int *)); 281uufile * UUPreProcessPart (fileread *, int *);
288int UUInsertPartToList _ANSI_ARGS_((uufile *)); 282int UUInsertPartToList (uufile *);
289uulist * UUCheckGlobalList _ANSI_ARGS_((void)); 283uulist * UUCheckGlobalList (void);
290 284
291/* 285/*
292 * Functions from uuutil.c 286 * Functions from uuutil.c
293 */ 287 */
294 288
295void UUkillfread _ANSI_ARGS_((fileread *)); 289void UUkillfread (fileread *);
296void UUkillfile _ANSI_ARGS_((uufile *)); 290void UUkillfile (uufile *);
297void UUkilllist _ANSI_ARGS_((uulist *)); 291void UUkilllist (uulist *);
298void UUkillheaders _ANSI_ARGS_((headers *)); 292void UUkillheaders (headers *);
299 293
300fileread * ScanPart _ANSI_ARGS_((FILE *, char *, int *)); 294fileread * ScanPart (FILE *, char *, int *);
301 295
302int UUbhdecomp _ANSI_ARGS_((char *, char *, 296int UUbhdecomp (char *, char *,
303 char *, int *, 297 char *, int *,
304 size_t, size_t, 298 size_t, size_t,
305 size_t *)); 299 size_t *);
306size_t UUbhwrite _ANSI_ARGS_((char *, size_t, size_t, 300size_t UUbhwrite (char *, size_t, size_t, FILE *);
307 FILE *));
308 301
309/* 302/*
310 * Functions from uunconc.c 303 * Functions from uunconc.c
311 */ 304 */
312 305
313int UURepairData _ANSI_ARGS_((FILE *, char *, 306int UURepairData (FILE *, char *, int, int *);
314 int, int *));
315 307
316void UUInitConc _ANSI_ARGS_((void)); 308void UUInitConc _ANSI_ARGS_((void));
317int UUValidData _ANSI_ARGS_((char *, int, int *)); 309int UUValidData _ANSI_ARGS_((char *, int, int *));
318size_t UUDecodeLine _ANSI_ARGS_((char *, char *, int)); 310size_t UUDecodeLine _ANSI_ARGS_((char *, char *, int));
311int UUDecodeField _ANSI_ARGS_((char *, char *, int));
319int UUDecodePart _ANSI_ARGS_((FILE *, FILE *, int *, 312int UUDecodePart _ANSI_ARGS_((FILE *, FILE *, int *,
320 long, int, int, char *)); 313 long, int, int, char *));
321int UUDecode _ANSI_ARGS_((uulist *)); 314int UUDecode _ANSI_ARGS_((uulist *));
322 315
323/* 316/*
324 * Message retrieval from uustring.c 317 * Message retrieval from uustring.c
325 */ 318 */
326 319
327char * uustring _ANSI_ARGS_((int)); 320char * uustring (int);
328 321
329/* 322/*
330 * From uuscan.c 323 * From uuscan.c
331 */ 324 */
332 325
333int UUScanHeader _ANSI_ARGS_((FILE *, headers *)); 326int UUScanHeader (FILE *, headers *);
334 327
335#ifdef __cplusplus 328#ifdef __cplusplus
336} 329}
337#endif 330#endif
338#endif 331#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines