Initial step in integrating regex-based rewrite engine.

This commit is contained in:
hpa 2001-07-10 04:52:06 +00:00
parent 4d0dd611ae
commit 20271a4c87
8 changed files with 344 additions and 9 deletions

View file

@ -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 *);