#include <apr_want.h>
#include "svn_utf.h"
Go to the source code of this file.
Functions | |
int | svn_cmdline_init (const char *progname, FILE *error_stream) |
Set up the locale for character conversion, and initialize APR. | |
svn_error_t * | svn_cmdline_cstring_from_utf8 (const char **dest, const char *src, apr_pool_t *pool) |
Set *dest to an output-encoded C string from UTF-8 C string src; allocate *dest in pool. | |
const char * | svn_cmdline_cstring_from_utf8_fuzzy (const char *src, apr_pool_t *pool) |
Like svn_utf_cstring_from_utf8_fuzzy, but converts to an output-encoded C string. | |
svn_error_t * | svn_cmdline_cstring_to_utf8 (const char **dest, const char *src, apr_pool_t *pool) |
Set *dest to a UTF-8-encoded C string from input-encoded C string src; allocate *dest in pool. | |
svn_error_t * | svn_cmdline_path_local_style_from_utf8 (const char **dest, const char *src, apr_pool_t *pool) |
Set *dest to an output-encoded natively-formatted path string from canonical path src; allocate *dest in pool. | |
svn_error_t * | svn_cmdline_printf (apr_pool_t *pool, const char *fmt,...) |
Write to stdout, using a printf-like format string fmt, passed through apr_pvsprintf . | |
svn_error_t * | svn_cmdline_fprintf (FILE *stream, apr_pool_t *pool, const char *fmt,...) |
Write to the stdio stream, using a printf-like format string fmt, passed through apr_pvsprintf . | |
svn_error_t * | svn_cmdline_fputs (const char *string, FILE *stream, apr_pool_t *pool) |
Output the string to the stdio stream, converting from UTF-8 to the output encoding. | |
svn_error_t * | svn_cmdline_fflush (FILE *stream) |
Flush output buffers of the stdio stream, returning an error if that fails. |
Definition in file svn_cmdline.h.
|
Flush output buffers of the stdio stream, returning an error if that fails. This is just a wrapper for the standard fflush function for consistent error handling. |
|
Write to the stdio stream, using a printf-like format string fmt, passed through All string arguments are in UTF-8; the output is converted to the output encoding. Use pool for temporary allocation. |
|
Output the string to the stdio stream, converting from UTF-8 to the output encoding. Use pool for temporary allocation. |
|
Set up the locale for character conversion, and initialize APR.
If error_stream is non-null, print error messages to the stream, using progname as the program name. Return
|
|
Write to stdout, using a printf-like format string fmt, passed through All string arguments are in UTF-8; the output is converted to the output encoding. Use pool for temporary allocation. |