1 /* 2 * Copyright (c) 1993 Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)tftpsubs.h 5.1 (Berkeley) 05/16/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