RTL8019以太网开发板资料
源代码在线查看: http.h
//-----------------------------------------------------------------------------
// HTTP.H
//
//-----------------------------------------------------------------------------
#include "main.h"
#define NONE 0
#define GET_PAGE 1
#define GET_JPEG 2
#define POST_PAGE 3
#define SPACE 0x20
extern void http_send(UWORK16 flags, UWORK8 *TData, UWORK16 TLen, UWORK8 nr);
extern UWORK16 http_server(UWORK8 nr, UWORK8 reSendFlag);
extern void init_http(void);
extern char * itoa(UWORK16 value, char * buf, UWORK8 radix);
extern void LightONOFF(bit b);
extern void replace_tag(UWORK8 xdata * start, char * tag, char * sub) ;
extern char * strstr(char * haystack, char * needle);