Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gshell.h File Reference
#include <glib/gerror.h>

Go to the source code of this file.

Macros

#define G_SHELL_ERROR   g_shell_error_quark ()
 

Enumerations

enum  GShellError { G_SHELL_ERROR_BAD_QUOTING , G_SHELL_ERROR_EMPTY_STRING , G_SHELL_ERROR_FAILED }
 

Functions

GLIB_AVAILABLE_IN_ALL GQuark g_shell_error_quark (void)
 
GLIB_AVAILABLE_IN_ALL gcharg_shell_quote (const gchar *unquoted_string)
 
GLIB_AVAILABLE_IN_ALL gcharg_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, GError **error)
 

Macro Definition Documentation

◆ G_SHELL_ERROR

#define G_SHELL_ERROR   g_shell_error_quark ()

Definition at line 32 of file gshell.h.

Enumeration Type Documentation

◆ GShellError

Enumerator
G_SHELL_ERROR_BAD_QUOTING 
G_SHELL_ERROR_EMPTY_STRING 
G_SHELL_ERROR_FAILED 

Definition at line 34 of file gshell.h.

35{
36 /* mismatched or otherwise mangled quoting */
38 /* string to be parsed was empty */
GShellError
Definition gshell.h:35
@ G_SHELL_ERROR_BAD_QUOTING
Definition gshell.h:37
@ G_SHELL_ERROR_FAILED
Definition gshell.h:40
@ G_SHELL_ERROR_EMPTY_STRING
Definition gshell.h:39

Function Documentation

◆ g_shell_error_quark()

GLIB_AVAILABLE_IN_ALL GQuark g_shell_error_quark ( void )

◆ g_shell_parse_argv()

GLIB_AVAILABLE_IN_ALL gboolean g_shell_parse_argv ( const gchar * command_line,
gint * argcp,
gchar *** argvp,
GError ** error )

◆ g_shell_quote()

GLIB_AVAILABLE_IN_ALL gchar * g_shell_quote ( const gchar * unquoted_string)

◆ g_shell_unquote()

GLIB_AVAILABLE_IN_ALL gchar * g_shell_unquote ( const gchar * quoted_string,
GError ** error )