Commit 0ab7bb4b authored by Allison Karlitskaya's avatar Allison Karlitskaya

GShell: move docs from tmpl to .c

parent f6482a1e
......@@ -5,5 +5,6 @@ gvarianttype.sgml
hash_tables.sgml
option.sgml
random_numbers.sgml
shell.sgml
threads.sgml
timers.sgml
<!-- ##### SECTION Title ##### -->
Shell-related Utilities
<!-- ##### SECTION Short_Description ##### -->
shell-like commandline handling
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### ENUM GShellError ##### -->
<para>
Error codes returned by shell functions.
</para>
@G_SHELL_ERROR_BAD_QUOTING: Mismatched or otherwise mangled quoting.
@G_SHELL_ERROR_EMPTY_STRING: String to be parsed was empty.
@G_SHELL_ERROR_FAILED: Some other error.
<!-- ##### MACRO G_SHELL_ERROR ##### -->
<para>
Error domain for shell functions. Errors in this domain will
be from the #GShellError enumeration. See #GError for information on
error domains.
</para>
<!-- ##### FUNCTION g_shell_parse_argv ##### -->
<para>
</para>
@command_line:
@argcp:
@argvp:
@error:
@Returns:
<!-- ##### FUNCTION g_shell_quote ##### -->
<para>
</para>
@unquoted_string:
@Returns:
<!-- ##### FUNCTION g_shell_unquote ##### -->
<para>
</para>
@quoted_string:
@error:
@Returns:
......@@ -33,6 +33,28 @@
#include "glibintl.h"
#include "galias.h"
/**
* SECTION: shell
* @title: Shell-related Utilities
* @short_description: shell-like commandline handling
**/
/**
* G_SHELL_ERROR:
*
* Error domain for shell functions. Errors in this domain will be from
* the #GShellError enumeration. See #GError for information on error
* domains.
**/
/**
* GShellError:
* @G_SHELL_ERROR_BAD_QUOTING: Mismatched or otherwise mangled quoting.
* @G_SHELL_ERROR_EMPTY_STRING: String to be parsed was empty.
* @G_SHELL_ERROR_FAILED: Some other error.
*
* Error codes returned by shell functions.
**/
GQuark
g_shell_error_quark (void)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment