summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/os/os_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/os/os_stream.h')
-rw-r--r--src/gallium/auxiliary/os/os_stream.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/os/os_stream.h b/src/gallium/auxiliary/os/os_stream.h
index 2ce5b1885e..3423b84d69 100644
--- a/src/gallium/auxiliary/os/os_stream.h
+++ b/src/gallium/auxiliary/os/os_stream.h
@@ -99,6 +99,17 @@ struct os_stream *
os_null_stream_create(void);
+struct os_stream *
+os_str_stream_create(size_t initial_size);
+
+
+const char *
+os_str_stream_get(struct os_stream *stream);
+
+char *
+os_str_stream_get_and_close(struct os_stream *stream);
+
+
#if defined(PIPE_SUBSYSTEM_WINDOWS_DISPLAY)
#define os_file_stream_create(_filename) os_null_stream_create()
#endif