[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Confuse-devel] printing to a buffer

From: Ernesto Rodriguez Reina
Subject: [Confuse-devel] printing to a buffer
Date: Tue, 22 Sep 2009 10:07:50 -0400

Hi everyone!

I'm relatively new to libconfuse and I have found it excellent. The
project I'm working on is using it, but now we are planning to have
auto-configuration options for components, that means that we'll have
a config agent that sets the settings for all others agents. In order
to change as little as possible, it create and sends confuse valid
buffers with the settings. The problem is that the config agent have
to create on the fly the settings and then print it to a buffer (dump
it). Right now we are creating a temporaty file, printing to it and
then reading it in order to send it back to the caller agent. We where
thinking that having a print-to-buffer option will be nice. It there
any plan for that? Is there any way to do it using current functions?

Thanks in advance.
Ernesto Rodriguez Reina

reply via email to

[Prev in Thread] Current Thread [Next in Thread]