xref: /original-bsd/usr.bin/tftp/tftpsubs.h (revision 541b0a81)
1 /*
2  * Copyright (c) 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)tftpsubs.h	8.1 (Berkeley) 06/06/93
8  */
9 
10 /*
11  * Prototypes for read-ahead/write-behind subroutines for tftp user and
12  * server.
13  */
14 struct tftphdr *r_init __P((void));
15 void	read_ahead __P((FILE *, int));
16 int	readit __P((FILE *, struct tftphdr **, int));
17 
18 int	synchnet __P((int));
19 
20 struct tftphdr *w_init __P((void));
21 int	write_behind __P((FILE *, int));
22 int	writeit __P((FILE *, struct tftphdr **, int, int));
23