[CONUTILS] Split stream.c into input and output stream modules.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 16 Oct 2017 21:58:23 +0000 (23:58 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Wed, 31 Jan 2018 01:10:41 +0000 (02:10 +0100)
commit4e697fee2c0df42bb2247377d11171cf790d05e6
tree5792f8e9f47897e4f7d07738d1c0dd15d4d080ea
parent7082b621a5bd49a9a34b9580e94ccd0c894d9f70
[CONUTILS] Split stream.c into input and output stream modules.

As code grows, this will allow for better maintenance of the console
stream code. In particular the input stream module will contain special
code for handling TTYs, and this is something not all console programs
will need. Having this code in a separate module will allow for the linker
to possibly remove this code when it is unused.
16 files changed:
sdk/lib/conutils/CMakeLists.txt
sdk/lib/conutils/README.txt
sdk/lib/conutils/conutils.h
sdk/lib/conutils/instream.c [new file with mode: 0644]
sdk/lib/conutils/instream.h [new file with mode: 0644]
sdk/lib/conutils/outstream.c [new file with mode: 0644]
sdk/lib/conutils/outstream.h [new file with mode: 0644]
sdk/lib/conutils/pager.c
sdk/lib/conutils/pager.h
sdk/lib/conutils/screen.c
sdk/lib/conutils/screen.h
sdk/lib/conutils/stream.c
sdk/lib/conutils/stream.h
sdk/lib/conutils/stream_private.h [new file with mode: 0644]
sdk/lib/conutils/utils.c
sdk/lib/conutils/utils.h