projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GVariant: support serialising to GVariantVectors
[platform/upstream/glib.git]
/
glib
/
gshell.h
diff --git
a/glib/gshell.h
b/glib/gshell.h
index
ddb4ec5
..
cff6c5c
100644
(file)
--- a/
glib/gshell.h
+++ b/
glib/gshell.h
@@
-18,13
+18,13
@@
* Boston, MA 02111-1307, USA.
*/
* Boston, MA 02111-1307, USA.
*/
+#ifndef __G_SHELL_H__
+#define __G_SHELL_H__
+
#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
#error "Only <glib.h> can be included directly."
#endif
#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
#error "Only <glib.h> can be included directly."
#endif
-#ifndef __G_SHELL_H__
-#define __G_SHELL_H__
-
#include <glib/gerror.h>
G_BEGIN_DECLS
#include <glib/gerror.h>
G_BEGIN_DECLS
@@
-40,11
+40,15
@@
typedef enum
G_SHELL_ERROR_FAILED
} GShellError;
G_SHELL_ERROR_FAILED
} GShellError;
+GLIB_AVAILABLE_IN_ALL
GQuark g_shell_error_quark (void);
GQuark g_shell_error_quark (void);
+GLIB_AVAILABLE_IN_ALL
gchar* g_shell_quote (const gchar *unquoted_string);
gchar* g_shell_quote (const gchar *unquoted_string);
+GLIB_AVAILABLE_IN_ALL
gchar* g_shell_unquote (const gchar *quoted_string,
GError **error);
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,
gboolean g_shell_parse_argv (const gchar *command_line,
gint *argcp,
gchar ***argvp,