src/strutil.h: fixed function descriptions.

src/strutil.c: removed unneeded #include's.
This commit is contained in:
Andrew Borodin 2009-04-26 09:01:34 +04:00
parent 8e43cdbfce
commit 9bb92b02ff
2 changed files with 3 additions and 5 deletions

View File

@ -25,8 +25,6 @@
#include <config.h>
#include <stdlib.h>
#include <stdio.h>
#include <iconv.h>
#include <glib.h>
#include <langinfo.h>
#include <string.h>
#include <errno.h>

View File

@ -156,15 +156,15 @@ void str_close_conv (GIConv);
*/
/* convert string using coder, result of conversion is appended at end of buffer
* return 0 if there was no problem.
* return ESTR_SUCCESS if there was no problem.
* otherwise return ESTR_PROBLEM or ESTR_FAILURE
*/
estr_t str_convert (GIConv, const char *, GString *);
estr_t str_nconvert (GIConv, const char *, int, GString *);
/* return only 0 or ESTR_FAILURE, because vfs must be able to convert result to
* original string. (so no replace with questionmark)
/* return only ESTR_SUCCESS or ESTR_FAILURE, because vfs must be able to convert
* result to original string. (so no replace with questionmark)
* if coder is str_cnv_from_term or str_cnv_not_convert, string is only copied,
* so is possible to show file, that is not valid in terminal encoding
*/