diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2010-04-29 22:00:22 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2010-04-29 22:00:22 -0400 |
commit | dc748b1c47baadafae2c90f0e188927b11b7e029 (patch) | |
tree | c728869dc6504570b9bffb7459ccbdd1bf264a9f /WWW/Library/Implementation/HTStream.h | |
parent | d4093cadbda3787dfb165954f8f6521790cfac86 (diff) | |
download | lynx-snapshots-dc748b1c47baadafae2c90f0e188927b11b7e029.tar.gz |
snapshot of project "lynx", label v2_8_8dev_6c
Diffstat (limited to 'WWW/Library/Implementation/HTStream.h')
-rw-r--r-- | WWW/Library/Implementation/HTStream.h | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/WWW/Library/Implementation/HTStream.h b/WWW/Library/Implementation/HTStream.h deleted file mode 100644 index 7a6d79ff..00000000 --- a/WWW/Library/Implementation/HTStream.h +++ /dev/null @@ -1,61 +0,0 @@ -/* The Stream class definition -- libwww - STREAM OBJECT DEFINITION - - A Stream object is something which accepts a stream of text. - - The creation methods will vary on the type of Stream Object. All creation - methods return a pointer to the stream type below. - - As you can see, but the methods used to write to the stream and close it are - pointed to be the object itself. - - */ -#ifndef HTSTREAM_H -#define HTSTREAM_H - -#ifndef HTUTILS_H -#include <HTUtils.h> -#endif - -#ifdef __cplusplus -extern "C" { -#endif - typedef struct _HTStream HTStream; - -/* - - These are the common methods of all streams. They should be - self-explanatory. - - */ - typedef struct _HTStreamClass { - - const char *name; /* Just for diagnostics */ - - void (*_free) (HTStream *me); - - void (*_abort) (HTStream *me, HTError e); - - void (*put_character) (HTStream *me, char ch); - - void (*put_string) (HTStream *me, const char *str); - - void (*put_block) (HTStream *me, const char *str, int len); - - } HTStreamClass; - -/* - - Generic Error Stream - - The Error stream simply signals an error on all output methods. - This can be used to stop a stream as soon as data arrives, for - example from the network. - - */ - extern HTStream *HTErrorStream(void); - -#ifdef __cplusplus -} -#endif -#endif /* HTSTREAM_H */ |