/[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 79 Revision 196
1/* 1/*
2 common.h - Part of psiconv, a PSION 5 file formats converter 2 common.h - Part of psiconv, a PSION 5 file formats converter
3 Copyright (c) 1999, 2000 Frodo Looijaard <frodol@dds.nl> 3 Copyright (c) 1999, 2000-2004 Frodo Looijaard <frodol@dds.nl>
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
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>
27#include <psiconv/list.h> 28#include <psiconv/unicode.h>
28 29
29#ifdef __cplusplus 30#ifdef __cplusplus
30extern "C" { 31extern "C" {
31#endif /* __cplusplus */ 32#endif /* __cplusplus */
32 33
33/* *************** 34/* ***************
34 * misc.c * 35 * misc.c *
35 *************** */ 36 *************** */
36 37
37/* 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.
38 that are not printable. You should free this string yourself when you are 40 You should free this string yourself when you are
39 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. */
40extern char *psiconv_make_printable(const char *s); 42extern char *psiconv_make_printable(const psiconv_config config,
43 const psiconv_string_t s);
41 44
42 45
43/* ************** 46/* **************
44 * checkuid.c * 47 * checkuid.c *
45 ************** */ 48 ************** */

Legend:
Removed from v.79  
changed lines
  Added in v.196

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