gconvert.h File Reference

API published in:
API deprecated in:


#include <_ansi.h>
#include <stddef.h>
#include <glib/gerror.h>

Go to the source code of this file.


Defines

#define  G_CONVERT_ERROR   g_convert_error_quark()

Typedefs

typedef _GIConv *  GIConv

Enumerations

enum   GConvertError {
  G_CONVERT_ERROR_NO_CONVERSION, G_CONVERT_ERROR_ILLEGAL_SEQUENCE, G_CONVERT_ERROR_FAILED, G_CONVERT_ERROR_PARTIAL_INPUT,
  G_CONVERT_ERROR_BAD_URI, G_CONVERT_ERROR_NOT_ABSOLUTE_PATH
}

Functions

IMPORT_C GQuark  g_convert_error_quark (void)
IMPORT_C GIConv  g_iconv_open (const gchar *to_codeset, const gchar *from_codeset)
IMPORT_C size_t  g_iconv (GIConv converter, gchar **inbuf, gsize *inbytes_left, gchar **outbuf, gsize *outbytes_left)
IMPORT_C gint  g_iconv_close (GIConv converter)
IMPORT_C gchar g_convert (const gchar *str, gssize len, const gchar *to_codeset, const gchar *from_codeset, gsize *bytes_read, gsize *bytes_written, GError **error) G_GNUC_MALLOC
IMPORT_C gchar g_convert_with_iconv (const gchar *str, gssize len, GIConv converter, gsize *bytes_read, gsize *bytes_written, GError **error) G_GNUC_MALLOC
IMPORT_C gchar g_convert_with_fallback (const gchar *str, gssize len, const gchar *to_codeset, const gchar *from_codeset, gchar *fallback, gsize *bytes_read, gsize *bytes_written, GError **error) G_GNUC_MALLOC
IMPORT_C gchar g_locale_to_utf8 (const gchar *opsysstring, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) G_GNUC_MALLOC
IMPORT_C gchar g_locale_from_utf8 (const gchar *utf8string, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) G_GNUC_MALLOC
IMPORT_C gchar g_filename_to_utf8 (const gchar *opsysstring, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) G_GNUC_MALLOC
IMPORT_C gchar g_filename_from_utf8 (const gchar *utf8string, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) G_GNUC_MALLOC
IMPORT_C gchar g_filename_from_uri (const gchar *uri, gchar **hostname, GError **error) G_GNUC_MALLOC
IMPORT_C gchar g_filename_to_uri (const gchar *filename, const gchar *hostname, GError **error) G_GNUC_MALLOC
IMPORT_C gchar g_filename_display_name (const gchar *filename) G_GNUC_MALLOC
IMPORT_C gboolean  g_get_filename_charsets (G_CONST_RETURN gchar ***charsets)
IMPORT_C gchar g_filename_display_basename (const gchar *filename) G_GNUC_MALLOC
IMPORT_C gchar **  g_uri_list_extract_uris (const gchar *uri_list) G_GNUC_MALLOC

Define Documentation

#define G_CONVERT_ERROR   g_convert_error_quark()
 

Typedef Documentation

typedef struct _GIConv* GIConv
 

Enumeration Type Documentation

enum GConvertError
 
Enumerator:
G_CONVERT_ERROR_NO_CONVERSION 
G_CONVERT_ERROR_ILLEGAL_SEQUENCE 
G_CONVERT_ERROR_FAILED 
G_CONVERT_ERROR_PARTIAL_INPUT 
G_CONVERT_ERROR_BAD_URI 
G_CONVERT_ERROR_NOT_ABSOLUTE_PATH 

Function Documentation

IMPORT_C gchar* g_convert const gchar str,
gssize  len,
const gchar to_codeset,
const gchar from_codeset,
gsize bytes_read,
gsize bytes_written,
GError **  error
 
IMPORT_C GQuark g_convert_error_quark void   ) 
 
IMPORT_C gchar* g_convert_with_fallback const gchar str,
gssize  len,
const gchar to_codeset,
const gchar from_codeset,
gchar fallback,
gsize bytes_read,
gsize bytes_written,
GError **  error
 
IMPORT_C gchar* g_convert_with_iconv const gchar str,
gssize  len,
GIConv  converter,
gsize bytes_read,
gsize bytes_written,
GError **  error
 
IMPORT_C gchar* g_filename_display_basename const gchar filename  ) 
 
IMPORT_C gchar* g_filename_display_name const gchar filename  ) 
 
IMPORT_C gchar* g_filename_from_uri const gchar uri,
gchar **  hostname,
GError **  error
 
IMPORT_C gchar* g_filename_from_utf8 const gchar utf8string,
gssize  len,
gsize bytes_read,
gsize bytes_written,
GError **  error
 
IMPORT_C gchar* g_filename_to_uri const gchar filename,
const gchar hostname,
GError **  error
 
IMPORT_C gchar* g_filename_to_utf8 const gchar opsysstring,
gssize  len,
gsize bytes_read,
gsize bytes_written,
GError **  error
 
IMPORT_C gboolean g_get_filename_charsets G_CONST_RETURN gchar ***  charsets  ) 
 
IMPORT_C size_t g_iconv GIConv  converter,
gchar **  inbuf,
gsize inbytes_left,
gchar **  outbuf,
gsize outbytes_left
 
IMPORT_C gint g_iconv_close GIConv  converter  ) 
 
IMPORT_C GIConv g_iconv_open const gchar to_codeset,
const gchar from_codeset
 
IMPORT_C gchar* g_locale_from_utf8 const gchar utf8string,
gssize  len,
gsize bytes_read,
gsize bytes_written,
GError **  error
 
IMPORT_C gchar* g_locale_to_utf8 const gchar opsysstring,
gssize  len,
gsize bytes_read,
gsize bytes_written,
GError **  error
 
IMPORT_C gchar** g_uri_list_extract_uris const gchar uri_list  ) 
 

Copyright © Nokia Corporation 2001-2008
Back to top