GnuCash 2.4.99
gnc-glib-utils.h File Reference

GLib helper routines. More...

#include <glib.h>

Go to the source code of this file.

Functions

Character Sets
int safe_utf8_collate (const char *str1, const char *str2)
gboolean gnc_utf8_validate (const gchar *str, gssize max_len, const gchar **end)
 Validates UTF-8 encoded text for use in GnuCash.
void gnc_utf8_strip_invalid (gchar *str)
gchar * gnc_utf8_strip_invalid_strdup (const gchar *str)
gchar * gnc_locale_from_utf8 (const gchar *str)
 Converts a string from UTF-8 to the encoding used for strings in the current locale.
gchar * gnc_locale_to_utf8 (const gchar *str)
 Converts a string to UTF-8 from the encoding used for strings in the current locale.
Message Logging
void gnc_scm_log_warn (const gchar *msg)
void gnc_scm_log_error (const gchar *msg)
void gnc_scm_log_msg (const gchar *msg)
void gnc_scm_log_debug (const gchar *msg)
glib Miscellaneous Functions
void gnc_gpid_kill (GPid pid)

GList Manipulation

typedef gpointer(* GncGMapFunc )(gpointer data, gpointer user_data)
GList * gnc_g_list_map (GList *list, GncGMapFunc fn, gpointer user_data)
void gnc_g_list_cut (GList **list, GList *cut_point)

Detailed Description

GLib helper routines.

Author:
Copyright (C) 2006 David Hampton <hampton@employees.org>

Definition in file gnc-glib-utils.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines