X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fgshell.h;h=cff6c5cbfa1a812caa7391b3f72048f5b35e4495;hb=d0083f7e2dd621c6b78496bdb6ecf5d580c5e110;hp=ddb4ec5647d67c92689f9f1dc866d0f045c721c5;hpb=d85b722734a6fcfe94032f6113de9e5c190fd7c3;p=platform%2Fupstream%2Fglib.git diff --git a/glib/gshell.h b/glib/gshell.h index ddb4ec5..cff6c5c 100644 --- a/glib/gshell.h +++ b/glib/gshell.h @@ -18,13 +18,13 @@ * Boston, MA 02111-1307, USA. */ +#ifndef __G_SHELL_H__ +#define __G_SHELL_H__ + #if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION) #error "Only can be included directly." #endif -#ifndef __G_SHELL_H__ -#define __G_SHELL_H__ - #include G_BEGIN_DECLS @@ -40,11 +40,15 @@ typedef enum G_SHELL_ERROR_FAILED } GShellError; +GLIB_AVAILABLE_IN_ALL GQuark g_shell_error_quark (void); +GLIB_AVAILABLE_IN_ALL gchar* g_shell_quote (const gchar *unquoted_string); +GLIB_AVAILABLE_IN_ALL gchar* g_shell_unquote (const gchar *quoted_string, GError **error); +GLIB_AVAILABLE_IN_ALL gboolean g_shell_parse_argv (const gchar *command_line, gint *argcp, gchar ***argvp,