Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/stream.h')
-rw-r--r--src/base/stream.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/base/stream.h b/src/base/stream.h
new file mode 100644
index 0000000..c414ad5
--- /dev/null
+++ b/src/base/stream.h
@@ -0,0 +1,21 @@
+/**
+ * \file stream.h
+ * \brief Output stream handling.
+ * \author Copyright (c) 2007-2008 Jason Perkins and the Premake project
+ */
+#if !defined(PREMAKE_STREAM_H)
+#define PREMAKE_STREAM_H
+
+DECLARE_CLASS(Stream);
+
+extern Stream Console;
+
+Stream stream_create_file(const char* filename);
+Stream stream_create_null(void);
+void stream_destroy(Stream stream);
+void stream_set_buffer(Stream strm, char* buffer);
+void stream_set_newline(Stream strm, const char* newline);
+int stream_write(Stream strm, const char* value, ...);
+int stream_writeline(Stream strm, const char* value, ...);
+
+#endif