Initial commit with heading and form navigation keys added.
This commit is contained in:
		
							
								
								
									
										22
									
								
								istream.h
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								istream.h
									
									
									
									
									
								
							| @@ -22,7 +22,7 @@ typedef struct stream_buffer *StreamBuffer; | ||||
|  | ||||
| struct io_file_handle { | ||||
|     FILE *f; | ||||
|     void (*close) (); | ||||
|     void (*close) (FILE *); | ||||
| }; | ||||
|  | ||||
| #ifdef USE_SSL | ||||
| @@ -47,8 +47,8 @@ struct base_stream { | ||||
|     void *handle; | ||||
|     char type; | ||||
|     char iseos; | ||||
|     int (*read) (); | ||||
|     void (*close) (); | ||||
|     int (*read) (void *, char *, int); | ||||
|     void (*close) (void *); | ||||
| }; | ||||
|  | ||||
| struct file_stream { | ||||
| @@ -56,8 +56,8 @@ struct file_stream { | ||||
|     struct io_file_handle *handle; | ||||
|     char type; | ||||
|     char iseos; | ||||
|     int (*read) (); | ||||
|     void (*close) (); | ||||
|     int (*read) (void *, char *, int); | ||||
|     void (*close) (void *); | ||||
| }; | ||||
|  | ||||
| struct str_stream { | ||||
| @@ -65,8 +65,8 @@ struct str_stream { | ||||
|     Str handle; | ||||
|     char type; | ||||
|     char iseos; | ||||
|     int (*read) (); | ||||
|     void (*close) (); | ||||
|     int (*read) (void *, char *, int); | ||||
|     void (*close) (void *); | ||||
| }; | ||||
|  | ||||
| #ifdef USE_SSL | ||||
| @@ -75,8 +75,8 @@ struct ssl_stream { | ||||
|     struct ssl_handle *handle; | ||||
|     char type; | ||||
|     char iseos; | ||||
|     int (*read) (); | ||||
|     void (*close) (); | ||||
|     int (*read) (void *, char *, int); | ||||
|     void (*close) (void *); | ||||
| }; | ||||
| #endif				/* USE_SSL */ | ||||
|  | ||||
| @@ -85,8 +85,8 @@ struct encoded_stream { | ||||
|     struct ens_handle *handle; | ||||
|     char type; | ||||
|     char iseos; | ||||
|     int (*read) (); | ||||
|     void (*close) (); | ||||
|     int (*read) (void *, char *, int); | ||||
|     void (*close) (void *); | ||||
| }; | ||||
|  | ||||
| union input_stream { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user