how to write the configuration file with sections

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how to write the configuration file with sections

belle.shi
hi,
  i am a new guy to libconfuse, i read the examples in the
http://www.nongnu.org/,  and i
have known how to read a  configuration file with sections, but i don't
know how to write the configuration file with sections, who can tell
me, i will be very appreciate. thank you.
  best regards
  belle



_______________________________________________
Confuse-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/confuse-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to write the configuration file with sections

Keith Mendoza
Belle,

I suggest you look at cfg_print() and cfg_print_indent() functions here: http://www.nongnu.org/confuse/manual/confuse_8h.html#a116

Keith

2009/9/14 <[hidden email]>
hi,
 i am a new guy to libconfuse, i read the examples in the http://www.nongnu.org/,  and i
have known how to read a  configuration file with sections, but i don't know how to write the configuration file with sections, who can tell me, i will be very appreciate. thank you.
 best regards
 belle



_______________________________________________
Confuse-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/confuse-devel


_______________________________________________
Confuse-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/confuse-devel