24#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
25#error "Only <glib.h> can be included directly."
197#define G_OPTION_ERROR (g_option_error_quark ())
290#define G_OPTION_REMAINING ""
305#define G_OPTION_ENTRY_NULL \
306 GLIB_AVAILABLE_MACRO_IN_2_70 \
307 { NULL, 0, 0, 0, NULL, NULL, NULL }
314 const gchar *summary);
319 const gchar *description);
344 const gchar *translation_domain);
361 const gchar *domain);
378 const gchar *description,
379 const gchar *help_description,
405 const gchar *domain);
#define GLIB_AVAILABLE_IN_2_44
#define GLIB_AVAILABLE_IN_2_40
#define GLIB_DEPRECATED_IN_2_44
#define GLIB_AVAILABLE_IN_ALL
GLIB_AVAILABLE_IN_2_44 gboolean g_option_context_get_strict_posix(GOptionContext *context)
gboolean(* GOptionArgFunc)(const gchar *option_name, const gchar *value, gpointer data, GError **error)
GLIB_AVAILABLE_IN_ALL const gchar * g_option_context_get_description(GOptionContext *context)
GLIB_AVAILABLE_IN_ALL gboolean g_option_context_get_ignore_unknown_options(GOptionContext *context)
GLIB_AVAILABLE_IN_ALL void g_option_context_set_ignore_unknown_options(GOptionContext *context, gboolean ignore_unknown)
GLIB_AVAILABLE_IN_ALL void g_option_context_add_group(GOptionContext *context, GOptionGroup *group)
GLIB_AVAILABLE_IN_ALL gboolean g_option_context_get_help_enabled(GOptionContext *context)
GLIB_AVAILABLE_IN_ALL void g_option_group_add_entries(GOptionGroup *group, const GOptionEntry *entries)
GLIB_AVAILABLE_IN_ALL GOptionContext * g_option_context_new(const gchar *parameter_string)
GLIB_AVAILABLE_IN_ALL void g_option_group_set_error_hook(GOptionGroup *group, GOptionErrorFunc error_func)
GLIB_AVAILABLE_IN_ALL void g_option_group_set_translate_func(GOptionGroup *group, GTranslateFunc func, gpointer data, GDestroyNotify destroy_notify)
GLIB_AVAILABLE_IN_ALL void g_option_context_free(GOptionContext *context)
GLIB_AVAILABLE_IN_ALL void g_option_context_set_main_group(GOptionContext *context, GOptionGroup *group)
GLIB_AVAILABLE_IN_ALL void g_option_group_set_translation_domain(GOptionGroup *group, const gchar *domain)
@ G_OPTION_FLAG_OPTIONAL_ARG
GLIB_AVAILABLE_IN_ALL GQuark g_option_error_quark(void)
GLIB_AVAILABLE_IN_ALL const gchar * g_option_context_get_summary(GOptionContext *context)
GLIB_AVAILABLE_IN_ALL void g_option_context_set_summary(GOptionContext *context, const gchar *summary)
GLIB_AVAILABLE_IN_2_44 void g_option_group_unref(GOptionGroup *group)
GLIB_AVAILABLE_IN_2_44 GOptionGroup * g_option_group_ref(GOptionGroup *group)
GLIB_AVAILABLE_IN_ALL void g_option_context_add_main_entries(GOptionContext *context, const GOptionEntry *entries, const gchar *translation_domain)
GLIB_AVAILABLE_IN_ALL GOptionGroup * g_option_context_get_main_group(GOptionContext *context)
GLIB_AVAILABLE_IN_ALL GOptionGroup * g_option_group_new(const gchar *name, const gchar *description, const gchar *help_description, gpointer user_data, GDestroyNotify destroy)
GLIB_AVAILABLE_IN_2_44 void g_option_context_set_strict_posix(GOptionContext *context, gboolean strict_posix)
typedefG_BEGIN_DECLS struct _GOptionContext GOptionContext
GLIB_AVAILABLE_IN_ALL void g_option_group_set_parse_hooks(GOptionGroup *group, GOptionParseFunc pre_parse_func, GOptionParseFunc post_parse_func)
gboolean(* GOptionParseFunc)(GOptionContext *context, GOptionGroup *group, gpointer data, GError **error)
GLIB_AVAILABLE_IN_ALL void g_option_context_set_description(GOptionContext *context, const gchar *description)
GLIB_AVAILABLE_IN_ALL gchar * g_option_context_get_help(GOptionContext *context, gboolean main_help, GOptionGroup *group)
@ G_OPTION_ERROR_BAD_VALUE
@ G_OPTION_ERROR_UNKNOWN_OPTION
GLIB_DEPRECATED_IN_2_44 void g_option_group_free(GOptionGroup *group)
GLIB_AVAILABLE_IN_ALL void g_option_context_set_translation_domain(GOptionContext *context, const gchar *domain)
GLIB_AVAILABLE_IN_2_40 gboolean g_option_context_parse_strv(GOptionContext *context, gchar ***arguments, GError **error)
GLIB_AVAILABLE_IN_ALL void g_option_context_set_help_enabled(GOptionContext *context, gboolean help_enabled)
GLIB_AVAILABLE_IN_ALL void g_option_context_set_translate_func(GOptionContext *context, GTranslateFunc func, gpointer data, GDestroyNotify destroy_notify)
void(* GOptionErrorFunc)(GOptionContext *context, GOptionGroup *group, gpointer data, GError **error)
@ G_OPTION_ARG_FILENAME_ARRAY
@ G_OPTION_ARG_STRING_ARRAY
GLIB_AVAILABLE_IN_ALL gboolean g_option_context_parse(GOptionContext *context, gint *argc, gchar ***argv, GError **error)
struct _GOptionGroup GOptionGroup
G_BEGIN_DECLS typedef guint32 GQuark
G_BEGIN_DECLS typedef char gchar
void(* GDestroyNotify)(gpointer data)
const gchar *(* GTranslateFunc)(const gchar *str, gpointer data)
static void error(LoadState *S, const char *why)
const gchar * arg_description
const gchar * description