about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTStream.h
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2005-06-02 22:50:02 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2005-06-02 22:50:02 -0400
commit1367261dc669476df3a799f0de45e4bfb2437b8b (patch)
tree3bf6e1c020aab95b4133f2c29baffef454d3d60b /WWW/Library/Implementation/HTStream.h
parentaaa10562f4a02971f712964cb2fd1014d2a75d33 (diff)
downloadlynx-snapshots-1367261dc669476df3a799f0de45e4bfb2437b8b.tar.gz
snapshot of project "lynx", label v2-8-6dev_12
Diffstat (limited to 'WWW/Library/Implementation/HTStream.h')
-rw-r--r--WWW/Library/Implementation/HTStream.h29
1 files changed, 10 insertions, 19 deletions
diff --git a/WWW/Library/Implementation/HTStream.h b/WWW/Library/Implementation/HTStream.h
index 43ce9725..7a6d79ff 100644
--- a/WWW/Library/Implementation/HTStream.h
+++ b/WWW/Library/Implementation/HTStream.h
@@ -1,14 +1,14 @@
 /*                                                      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
@@ -25,12 +25,8 @@ extern "C" {
 /*
 
    These are the common methods of all streams.  They should be
-   self-explanatory, except for end_document which must be called before free. 
-   It should be merged with free in fact:  it should be dummy for new streams.
-   
-   The put_block method was write, but this upset systems which had macros for
-   write().
-   
+   self-explanatory.
+
  */
     typedef struct _HTStreamClass {
 
@@ -38,18 +34,13 @@ extern "C" {
 
 	void (*_free) (HTStream *me);
 
-	void (*_abort) (HTStream *me,
-			HTError e);
+	void (*_abort) (HTStream *me, HTError e);
 
-	void (*put_character) (HTStream *me,
-			       char ch);
+	void (*put_character) (HTStream *me, char ch);
 
-	void (*put_string) (HTStream *me,
-			    const char *str);
+	void (*put_string) (HTStream *me, const char *str);
 
-	void (*put_block) (HTStream *me,
-			   const char *str,
-			   int len);
+	void (*put_block) (HTStream *me, const char *str, int len);
 
     } HTStreamClass;