.\" This file is part of grecs -*- nroff -*- .\" Copyright (C) 2007, 2009-2012, 2015 Sergey Poznyakoff .\" .\" Grecs is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 3, or (at your option) .\" any later version. .\" .\" Grecs is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with Grecs. If not, see . .\" .TH GRECS_FORMAT_VALUE 3 "May 19, 2011" "GRECS" "Grecs User Reference" .SH NAME grecs_format_value \- format and output a configuration value .SH SYNOPSIS .nf .B #include .sp .BI "void grecs_format_value(struct grecs_value *" "val" ", int " \ "flags" ", " .ti +17 .BI "struct grecs_format_closure " "*clos" ); .sp .BI "void grecs_print_value(struct grecs_value *" "val" ", int " \ "flags" ", FILE " "*fp" ); .SH DESCRIPTION \fBgrecs_format_value\fR formats the value \fIval\fR and outputs it using the formatting closure \fIclos\fR. The \fIflags\fR argument describes how to format the value. See .BR grecs_format_node (3), for a discussion of available flags. .PP \fBgrecs_print_value\fR is an alternative interface that outputs the formatted data to a file. .SH "RETURN VALUE" None. .SH NOTES This are auxiliary functions used by .BR grecs_format_node (3) and .BR grecs_print_node (3), correspondingly. They are is seldom needed in user programs. .SH "SEE ALSO" .BR grecs_format_node (3). .SH AUTHORS Sergey Poznyakoff .SH "BUG REPORTS" Report bugs to . .SH COLOPHON The \fBGrecs\fR library is constantly changing, so this manual page may be incorrect or out-of-date. For the latest copy of \fBGrecs\fR documentation, visit . .SH COPYRIGHT Copyright \(co 2011 Sergey Poznyakoff .br .na License GPLv3+: GNU GPL version 3 or later .br .ad This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .\" Local variables: .\" eval: (add-hook 'write-file-hooks 'time-stamp) .\" time-stamp-start: ".TH [A-Z_][A-Z0-9_]* [0-9] \"" .\" time-stamp-format: "%:B %:d, %:y" .\" time-stamp-end: "\"" .\" time-stamp-line-limit: 20 .\" end: