1.1 --- a/epoc32/include/stdapis/glib-2.0/glib/gshell.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/stdapis/glib-2.0/glib/gshell.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,55 @@
1.4 -gshell.h
1.5 +/* gshell.h - Shell-related utilities
1.6 + *
1.7 + * Copyright 2000 Red Hat, Inc.
1.8 + * Portions copyright (c) 2006 Nokia Corporation. All rights reserved.
1.9 + *
1.10 + * GLib is free software; you can redistribute it and/or
1.11 + * modify it under the terms of the GNU Lesser General Public License as
1.12 + * published by the Free Software Foundation; either version 2 of the
1.13 + * License, or (at your option) any later version.
1.14 + *
1.15 + * GLib is distributed in the hope that it will be useful,
1.16 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.17 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1.18 + * Lesser General Public License for more details.
1.19 + *
1.20 + * You should have received a copy of the GNU Lesser General Public
1.21 + * License along with GLib; see the file COPYING.LIB. If not, write
1.22 + * to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1.23 + * Boston, MA 02111-1307, USA.
1.24 + */
1.25 +
1.26 +#ifndef __G_SHELL_H__
1.27 +#define __G_SHELL_H__
1.28 +
1.29 +#include <_ansi.h>
1.30 +#include <glib/gerror.h>
1.31 +
1.32 +G_BEGIN_DECLS
1.33 +
1.34 +#define G_SHELL_ERROR g_shell_error_quark ()
1.35 +
1.36 +typedef enum
1.37 +{
1.38 + /* mismatched or otherwise mangled quoting */
1.39 + G_SHELL_ERROR_BAD_QUOTING,
1.40 + /* string to be parsed was empty */
1.41 + G_SHELL_ERROR_EMPTY_STRING,
1.42 + G_SHELL_ERROR_FAILED
1.43 +} GShellError;
1.44 +
1.45 +IMPORT_C GQuark g_shell_error_quark (void);
1.46 +
1.47 +IMPORT_C gchar* g_shell_quote (const gchar *unquoted_string);
1.48 +IMPORT_C gchar* g_shell_unquote (const gchar *quoted_string,
1.49 + GError **error);
1.50 +IMPORT_C gboolean g_shell_parse_argv (const gchar *command_line,
1.51 + gint *argcp,
1.52 + gchar ***argvp,
1.53 + GError **error);
1.54 +
1.55 +G_END_DECLS
1.56 +
1.57 +#endif /* __G_SHELL_H__ */
1.58 +
1.59 +