diff options
author | hpa <hpa> | 2001-07-10 04:52:06 +0000 |
---|---|---|
committer | hpa <hpa> | 2001-07-10 04:52:06 +0000 |
commit | 20271a4c874ab47a08fb96d4de82c53b9ba4e418 (patch) | |
tree | 572aa25f1f119584bd7c1b9368f9a6a11ae1ebf3 /tftp | |
parent | 4d0dd611aed4c0340d0a5bdf433dc12872788452 (diff) | |
download | tftp-hpa-20271a4c874ab47a08fb96d4de82c53b9ba4e418.tar.gz |
Initial step in integrating regex-based rewrite engine.
Diffstat (limited to 'tftp')
-rw-r--r-- | tftp/tftpsubs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tftp/tftpsubs.h b/tftp/tftpsubs.h index a2a3a6c..6d2c183 100644 --- a/tftp/tftpsubs.h +++ b/tftp/tftpsubs.h @@ -42,6 +42,8 @@ * Prototypes for read-ahead/write-behind subroutines for tftp user and * server. */ +#include <stdlib.h> + struct tftphdr *r_init(void); void read_ahead(FILE *, int); int readit(FILE *, struct tftphdr **, int); @@ -55,3 +57,8 @@ int writeit(FILE *, struct tftphdr **, int, int); extern int segsize; #define MAX_SEGSIZE 65464 +/* + * Prototype for xmalloc/xstrdup + */ +extern void *xmalloc(size_t); +extern char *xstrdup(const char *); |