|
From: | Paolo Bonzini |
Subject: | Re: extended streams |
Date: | Mon, 26 Apr 2010 10:24:59 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3 |
I would suggest to define an abstraction of "input stream" or "output stream" or "stream", depending on the needs of libvirt, and use that.
I agree. And maybe make it sure that it can be implemented on top of hookable stdio streams on glibc.
There used to be GNU snprintfv too. The stream parts of it could be recycled for this.
http://git.sv.gnu.org/cgit/smalltalk.git/tree/snprintfv/snprintfv/stream.c http://git.sv.gnu.org/cgit/smalltalk.git/tree/snprintfv/snprintfv/stream.h Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |