308
309
#define G_OPTION_REMAINING ""
311
GLIB_AVAILABLE_IN_ALL
310
312
GOptionContext *g_option_context_new (const gchar *parameter_string);
313
GLIB_AVAILABLE_IN_ALL
311
314
void g_option_context_set_summary (GOptionContext *context,
312
315
const gchar *summary);
316
GLIB_AVAILABLE_IN_ALL
313
317
const gchar * g_option_context_get_summary (GOptionContext *context);
318
GLIB_AVAILABLE_IN_ALL
314
319
void g_option_context_set_description (GOptionContext *context,
315
320
const gchar *description);
321
GLIB_AVAILABLE_IN_ALL
316
322
const gchar * g_option_context_get_description (GOptionContext *context);
323
GLIB_AVAILABLE_IN_ALL
317
324
void g_option_context_free (GOptionContext *context);
325
GLIB_AVAILABLE_IN_ALL
318
326
void g_option_context_set_help_enabled (GOptionContext *context,
319
327
gboolean help_enabled);
328
GLIB_AVAILABLE_IN_ALL
320
329
gboolean g_option_context_get_help_enabled (GOptionContext *context);
330
GLIB_AVAILABLE_IN_ALL
321
331
void g_option_context_set_ignore_unknown_options (GOptionContext *context,
322
332
gboolean ignore_unknown);
333
GLIB_AVAILABLE_IN_ALL
323
334
gboolean g_option_context_get_ignore_unknown_options (GOptionContext *context);
336
GLIB_AVAILABLE_IN_ALL
325
337
void g_option_context_add_main_entries (GOptionContext *context,
326
338
const GOptionEntry *entries,
327
339
const gchar *translation_domain);
340
GLIB_AVAILABLE_IN_ALL
328
341
gboolean g_option_context_parse (GOptionContext *context,
345
GLIB_AVAILABLE_IN_ALL
332
346
void g_option_context_set_translate_func (GOptionContext *context,
333
347
GTranslateFunc func,
335
349
GDestroyNotify destroy_notify);
350
GLIB_AVAILABLE_IN_ALL
336
351
void g_option_context_set_translation_domain (GOptionContext *context,
337
352
const gchar *domain);
354
GLIB_AVAILABLE_IN_ALL
339
355
void g_option_context_add_group (GOptionContext *context,
340
356
GOptionGroup *group);
357
GLIB_AVAILABLE_IN_ALL
341
358
void g_option_context_set_main_group (GOptionContext *context,
342
359
GOptionGroup *group);
360
GLIB_AVAILABLE_IN_ALL
343
361
GOptionGroup *g_option_context_get_main_group (GOptionContext *context);
362
GLIB_AVAILABLE_IN_ALL
344
363
gchar *g_option_context_get_help (GOptionContext *context,
345
364
gboolean main_help,
346
365
GOptionGroup *group);
367
GLIB_AVAILABLE_IN_ALL
348
368
GOptionGroup *g_option_group_new (const gchar *name,
349
369
const gchar *description,
350
370
const gchar *help_description,
351
371
gpointer user_data,
352
372
GDestroyNotify destroy);
373
GLIB_AVAILABLE_IN_ALL
353
374
void g_option_group_set_parse_hooks (GOptionGroup *group,
354
375
GOptionParseFunc pre_parse_func,
355
376
GOptionParseFunc post_parse_func);
377
GLIB_AVAILABLE_IN_ALL
356
378
void g_option_group_set_error_hook (GOptionGroup *group,
357
379
GOptionErrorFunc error_func);
380
GLIB_AVAILABLE_IN_ALL
358
381
void g_option_group_free (GOptionGroup *group);
382
GLIB_AVAILABLE_IN_ALL
359
383
void g_option_group_add_entries (GOptionGroup *group,
360
384
const GOptionEntry *entries);
385
GLIB_AVAILABLE_IN_ALL
361
386
void g_option_group_set_translate_func (GOptionGroup *group,
362
387
GTranslateFunc func,
364
389
GDestroyNotify destroy_notify);
390
GLIB_AVAILABLE_IN_ALL
365
391
void g_option_group_set_translation_domain (GOptionGroup *group,
366
392
const gchar *domain);