projects
/
rodin
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented the signals 'char-input', 'line-input', and 'text-buffer-output' on the...
[rodin/chimara.git]
/
libchimara
/
stream.h
diff --git
a/libchimara/stream.h
b/libchimara/stream.h
index 7bab826b85c8295bc228a549eab69c78af7db9a4..9636fac2c49b3c853c04ed9bbf522ae5cdfa0a42 100644
(file)
--- a/
libchimara/stream.h
+++ b/
libchimara/stream.h
@@
-3,6
+3,7
@@
#include <gtk/gtk.h>
#include "glk.h"
#include <gtk/gtk.h>
#include "glk.h"
+#include "gi_dispa.h"
#include "window.h"
#include "fileref.h"
#include "window.h"
#include "fileref.h"
@@
-23,6
+24,7
@@
struct glk_stream_struct
{
/*< private >*/
glui32 magic, rock;
{
/*< private >*/
glui32 magic, rock;
+ gidispatch_rock_t disprock;
/* Pointer to the list node in the global stream list that contains this
stream */
GList* stream_list;
/* Pointer to the list node in the global stream list that contains this
stream */
GList* stream_list;
@@
-40,6
+42,7
@@
struct glk_stream_struct
glui32 *ubuffer;
glui32 mark;
glui32 buflen;
glui32 *ubuffer;
glui32 mark;
glui32 buflen;
+ gidispatch_rock_t buffer_rock;
/* Specific to file streams */
FILE *file_pointer;
gboolean binary;
/* Specific to file streams */
FILE *file_pointer;
gboolean binary;
@@
-48,6
+51,8
@@
struct glk_stream_struct
gchar *style; /* Name of the current style */
};
gchar *style; /* Name of the current style */
};
-G_GNUC_INTERNAL strid_t window_stream_new(winid_t window);
+G_GNUC_INTERNAL strid_t file_stream_new(frefid_t fileref, glui32 fmode, glui32 rock, gboolean unicode);
+G_GNUC_INTERNAL strid_t stream_new_common(glui32 rock);
G_GNUC_INTERNAL void stream_close_common(strid_t str, stream_result_t *result);
G_GNUC_INTERNAL void stream_close_common(strid_t str, stream_result_t *result);
+
#endif
#endif