summaryrefslogtreecommitdiffstats
path: root/common/glib-ectomy.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-09-19 21:15:54 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-09-19 21:15:54 +0000
commit439de080e210d17c3809e096cbe8b3ac5ab21144 (patch)
tree7ab9b9d65291a440294075f7165207074ffbd31f /common/glib-ectomy.h
parent4b0b4c6b25a119e7011d2da9827481a6c1690dc0 (diff)
Add proper UTF-8 validation of device names (both local and remote)
Diffstat (limited to 'common/glib-ectomy.h')
-rw-r--r--common/glib-ectomy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/glib-ectomy.h b/common/glib-ectomy.h
index 2885f019..4d00870c 100644
--- a/common/glib-ectomy.h
+++ b/common/glib-ectomy.h
@@ -93,6 +93,8 @@ void g_main_loop_unref(GMainLoop *loop);
guint g_timeout_add(guint interval, GSourceFunc function, gpointer data);
gint g_timeout_remove(const guint id);
+gboolean g_utf8_validate(const gchar *str, gssize max_len, const gchar **end);
+
#define g_main_new(is_running) g_main_loop_new(NULL, is_running);
#define g_main_run(loop) g_main_loop_run(loop)
#define g_main_quit(loop) g_main_loop_quit(loop)