/[public]/psiconv/trunk/lib/psiconv/common.h
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/common.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 183 Revision 184
22 22
23#ifndef PSICONV_COMMON_H 23#ifndef PSICONV_COMMON_H
24#define PSICONV_COMMON_H 24#define PSICONV_COMMON_H
25 25
26#include <psiconv/general.h> 26#include <psiconv/general.h>
27#include <psiconv/configuration.h>
28#include <psiconv/unicode.h>
27 29
28#ifdef __cplusplus 30#ifdef __cplusplus
29extern "C" { 31extern "C" {
30#endif /* __cplusplus */ 32#endif /* __cplusplus */
31 33
32/* *************** 34/* ***************
33 * misc.c * 35 * misc.c *
34 *************** */ 36 *************** */
35 37
36/* This function returns a copy of a string, that contains no ASCII codes 38/* This function returns a copy of a Unicode string, converted to plain ASCII.
39 Anything codepage dependent (> 128) is sanitized away.
37 that are not printable. You should free this string yourself when you are 40 You should free this string yourself when you are
38 done with it. Returns NULL if there is not enough memory left. */ 41 done with it. Returns NULL if there is not enough memory left. */
39extern char *psiconv_make_printable(const char *s); 42extern char *psiconv_make_printable(const psiconv_config config,
43 const psiconv_string_t s);
40 44
41 45
42/* ************** 46/* **************
43 * checkuid.c * 47 * checkuid.c *
44 ************** */ 48 ************** */

Legend:
Removed from v.183  
changed lines
  Added in v.184

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26