Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
HTXParse.h
Package: arena-beta-2b-src.tar.gz [view]
Upload User: zlh9724
Upload Date: 2007-01-04
Package Size: 1991k
Code Size: 2k
Category:
Browser Client
Development Platform:
Unix_Linux
- /* ExtParse: Module to get unparsed stream from libwww
- XPARSE: MODULE TO GET UNPARSED STREAM FROM LIBWWW
- */
- /*
- ** (c) COPYRIGHT MIT 1995.
- ** Please first read the full copyright statement in the file COPYRIGH.
- */
- /*
- This version of the stream object is a hook for clients that want an unparsed stream
- from libwww. The HTXParse_put_* and HTXParse_write routines copy the content of the
- incoming buffer into a buffer that is realloced whenever necessary. This buffer is
- handed over to the client in HTXParse_free. See also HTFWriter for writing to C files.
- BUGS:
- strings written must be less than buffer size.
- This module is implemented by HTXParse.c, and it is a part of the W3C Reference
- Library.
- */
- #ifndef HTXPARSE_H
- #define HTXPARSE_H
- #include "HTStream.h"
- #include "HTReq.h"
- typedef struct _HTXParseStruct HTXParseStruct;
- typedef void CallClient (HTXParseStruct * me);
- struct _HTXParseStruct {
- CallClient *call_client;
- int used; /* how much of the buffer is being used*/
- BOOL finished; /* document loaded? */
- int length; /* how long the buffer is */
- char * buffer; /* storage in until client takes over */
- char * content_type;
- HTRequest * request; /* the request structure */
- };
- extern HTConverter HTXParse;
- #endif
- /*
- End of declaration */