xref: /csrg-svn/contrib/sort/extern.h (revision 62247)
160902Sbostic /*-
2*62247Sbostic  * Copyright (c) 1993
3*62247Sbostic  *	The Regents of the University of California.  All rights reserved.
460902Sbostic  *
560902Sbostic  * This code is derived from software contributed to Berkeley by
660902Sbostic  * Peter McIlroy.
760902Sbostic  *
860902Sbostic  * %sccs.include.redist.c%
960902Sbostic  *
10*62247Sbostic  *	@(#)extern.h	8.1 (Berkeley) 06/06/93
1160902Sbostic  */
1260902Sbostic 
1360902Sbostic void	 append  __P((u_char **, int, int, FILE *, void (*)(), struct field *));
1460902Sbostic void	 concat __P((FILE *, FILE *));
1560902Sbostic length_t enterkey __P((struct recheader *,
1660902Sbostic 	    DBT *, int, struct field *));
1760902Sbostic void	 fixit __P((int *, char **));
1860902Sbostic void	 fldreset __P((struct field *));
1960902Sbostic FILE	*ftmp __P((void));
2060902Sbostic void	 fmerge __P((int, union f_handle,
2160902Sbostic 	    int, int (*)(), FILE *, void (*)(), struct field *));
2260902Sbostic void	 fsort __P((int, int, union f_handle, int, FILE *, struct field *));
2360902Sbostic int	 geteasy __P((int, union f_handle,
2460902Sbostic 	    int, struct recheader *, u_char *, struct field *));
2560902Sbostic int	 getnext __P((int, union f_handle,
2660902Sbostic 	    int, struct recheader *, u_char *, struct field *));
2760902Sbostic int	 makekey __P((int, union f_handle,
2860902Sbostic 	    int, struct recheader *, u_char *, struct field *));
2960902Sbostic int	 makeline __P((int, union f_handle,
3060902Sbostic 	    int, struct recheader *, u_char *, struct field *));
3160902Sbostic void	 merge __P((int, int, int (*)(), FILE *, void (*)(), struct field *));
3260902Sbostic void	 num_init __P((void));
3360902Sbostic void	 onepass __P((u_char **, int, long, long *, u_char *, FILE *));
3460902Sbostic int	 optval __P((int, int));
3560902Sbostic void	 order __P((union f_handle, int (*)(), struct field *));
3660902Sbostic void	 putline __P((struct recheader *, FILE *));
3760902Sbostic void	 putrec __P((struct recheader *, FILE *));
3860902Sbostic void	 rd_append __P((int, union f_handle, int, FILE *, u_char *, u_char *));
3960902Sbostic int	 seq __P((FILE *, DBT *, DBT *));
4060902Sbostic int	 setfield __P((char *, struct field *, int));
4160902Sbostic void	 settables __P((int));
42