blob: c414ad56cda04f24beb3199e5496c8aaf9d938ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
|