forked from mirrors/tftp-hpa-google
Initial step in integrating regex-based rewrite engine.
This commit is contained in:
parent
4d0dd611ae
commit
20271a4c87
8 changed files with 344 additions and 9 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue