diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2011-06-11 12:12:46 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2011-06-11 12:12:46 -0400 |
commit | 279010bc0791556e63b4951d83a2c45252142b80 (patch) | |
tree | 2f0ca07764a555764bb1f5a628a3468e88bf0c59 /WWW/Library/Implementation/HTStream.h | |
parent | 0b30d0d375231ff07227872f2d1d25f005e43e98 (diff) | |
download | lynx-snapshots-279010bc0791556e63b4951d83a2c45252142b80.tar.gz |
snapshot of project "lynx", label v2_8_8dev_9a
Diffstat (limited to 'WWW/Library/Implementation/HTStream.h')
-rw-r--r-- | WWW/Library/Implementation/HTStream.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/WWW/Library/Implementation/HTStream.h b/WWW/Library/Implementation/HTStream.h deleted file mode 100644 index 9aca42e0..00000000 --- a/WWW/Library/Implementation/HTStream.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * $LynxId: HTStream.h,v 1.15 2010/09/25 11:42:48 tom Exp $ - * - * 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, int 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 */ |