diff options
author | Miguel de Icaza <miguel@gnome.org> | 2006-10-15 07:58:03 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2006-10-15 07:58:03 +0400 |
commit | 8984c73d782b2731b4efd08bf52db538001d53bd (patch) | |
tree | 9b3d20bc4b8f2531ebfa34bbfecb715cedee7cb2 /eglib | |
parent | fb4751751c81a731d4cc166fe1a21b053d23836f (diff) |
stubs and GLIB_CHECK_VERSION
svn path=/trunk/mono/; revision=66681
Diffstat (limited to 'eglib')
-rw-r--r-- | eglib/src/glib.h | 10 | ||||
-rw-r--r-- | eglib/src/gshell.c | 11 |
2 files changed, 20 insertions, 1 deletions
diff --git a/eglib/src/glib.h b/eglib/src/glib.h index cf68e4c027c..8d4103f0aad 100644 --- a/eglib/src/glib.h +++ b/eglib/src/glib.h @@ -515,7 +515,9 @@ void g_set_prgname (const gchar *prgname); * Shell */ -gboolean g_shell_parse_argv (const gchar *command_line, gint *argcp, gchar ***argvp, GError **error); +gboolean g_shell_parse_argv (const gchar *command_line, gint *argcp, gchar ***argvp, GError **error); +gchar *g_shell_unquote (const gchar *quoted_string, GError **error); +gchar *g_shell_quote (const gchar *unquoted_string); /* * Spawn @@ -721,6 +723,12 @@ gboolean g_utf8_validate (const gchar *str, gssize max_len, const gchar ** #define GUINT32_FROM_LE(x) (GUINT32_TO_LE (x)) #define GUINT64_FROM_LE(x) (GUIN64_TO_LE (x)) #define GUINT16_FROM_LE(x) (GUINT16_TO_LE (x)) + +#define _EGLIB_MAJOR 2 +#define _EGLIB_MIDDLE 4 +#define _EGLIB_MINOR 0 +#define GLIB_CHECK_VERSION(a,b,c) ((a < _EGLIB_MAJOR) || (a == _EGLIB_MAJOR && (b < _EGLIB_MIDDLE || (b == _EGLIB_MIDDLE && c <= _EGLIB_MINOR)))) + #endif diff --git a/eglib/src/gshell.c b/eglib/src/gshell.c index c54a9eef7cd..0bd3466a05f 100644 --- a/eglib/src/gshell.c +++ b/eglib/src/gshell.c @@ -134,3 +134,14 @@ g_shell_parse_argv (const gchar *command_line, gint *argcp, gchar ***argvp, GErr return TRUE; } +gchar * +g_shell_quote (const gchar *unquoted_string) +{ + g_abort ("Not implemented"); +} + +gchar * +g_shell_unquote (const gchar *quoted_string, GError **error) +{ + g_abort ("Not implemented"); +} |