xref: /csrg-svn/contrib/sort/extern.h (revision 60902)
1*60902Sbostic /*-
2*60902Sbostic  * Copyright (c) 1993 The Regents of the University of California.
3*60902Sbostic  * All rights reserved.
4*60902Sbostic  *
5*60902Sbostic  * This code is derived from software contributed to Berkeley by
6*60902Sbostic  * Peter McIlroy.
7*60902Sbostic  *
8*60902Sbostic  * %sccs.include.redist.c%
9*60902Sbostic  *
10*60902Sbostic  *	@(#)extern.h	5.1 (Berkeley) 06/01/93
11*60902Sbostic  */
12*60902Sbostic 
13*60902Sbostic void	 append  __P((u_char **, int, int, FILE *, void (*)(), struct field *));
14*60902Sbostic void	 concat __P((FILE *, FILE *));
15*60902Sbostic length_t enterkey __P((struct recheader *,
16*60902Sbostic 	    DBT *, int, struct field *));
17*60902Sbostic void	 fixit __P((int *, char **));
18*60902Sbostic void	 fldreset __P((struct field *));
19*60902Sbostic FILE	*ftmp __P((void));
20*60902Sbostic void	 fmerge __P((int, union f_handle,
21*60902Sbostic 	    int, int (*)(), FILE *, void (*)(), struct field *));
22*60902Sbostic void	 fsort __P((int, int, union f_handle, int, FILE *, struct field *));
23*60902Sbostic int	 geteasy __P((int, union f_handle,
24*60902Sbostic 	    int, struct recheader *, u_char *, struct field *));
25*60902Sbostic int	 getnext __P((int, union f_handle,
26*60902Sbostic 	    int, struct recheader *, u_char *, struct field *));
27*60902Sbostic int	 makekey __P((int, union f_handle,
28*60902Sbostic 	    int, struct recheader *, u_char *, struct field *));
29*60902Sbostic int	 makeline __P((int, union f_handle,
30*60902Sbostic 	    int, struct recheader *, u_char *, struct field *));
31*60902Sbostic void	 merge __P((int, int, int (*)(), FILE *, void (*)(), struct field *));
32*60902Sbostic void	 num_init __P((void));
33*60902Sbostic void	 onepass __P((u_char **, int, long, long *, u_char *, FILE *));
34*60902Sbostic int	 optval __P((int, int));
35*60902Sbostic void	 order __P((union f_handle, int (*)(), struct field *));
36*60902Sbostic void	 putline __P((struct recheader *, FILE *));
37*60902Sbostic void	 putrec __P((struct recheader *, FILE *));
38*60902Sbostic void	 rd_append __P((int, union f_handle, int, FILE *, u_char *, u_char *));
39*60902Sbostic int	 seq __P((FILE *, DBT *, DBT *));
40*60902Sbostic int	 setfield __P((char *, struct field *, int));
41*60902Sbostic void	 settables __P((int));
42