pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cmdline.c File Reference
#include <config.h>
#include <glib.h>
#include <crm/crm.h>
#include <crm/common/cmdline_internal.h>
#include <crm/common/util.h>
Include dependency graph for cmdline.c:

Go to the source code of this file.


#define _GNU_SOURCE


pcmk__common_args_tpcmk__new_common_args (const char *summary)
GOptionContext * pcmk__build_arg_context (pcmk__common_args_t *common_args, const char *fmts, GOptionGroup **output_group, const char *param_string)
void pcmk__free_arg_context (GOptionContext *context)
void pcmk__add_main_args (GOptionContext *context, GOptionEntry entries[])
void pcmk__add_arg_group (GOptionContext *context, const char *name, const char *header, const char *desc, GOptionEntry entries[])
gchar ** pcmk__cmdline_preproc (char **argv, const char *special)
gboolean pcmk__force_args (GOptionContext *context, GError **error, const char *format,...)

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 11 of file cmdline.c.

Function Documentation

void pcmk__add_arg_group ( GOptionContext *  context,
const char *  name,
const char *  header,
const char *  desc,
GOptionEntry  entries[] 

Definition at line 133 of file cmdline.c.

void pcmk__add_main_args ( GOptionContext *  context,
GOptionEntry  entries[] 

Definition at line 125 of file cmdline.c.

GOptionContext* pcmk__build_arg_context ( pcmk__common_args_t common_args,
const char *  fmts,
GOptionGroup **  output_group,
const char *  param_string 

Definition at line 62 of file cmdline.c.

gchar** pcmk__cmdline_preproc ( char **  argv,
const char *  special 

Definition at line 147 of file cmdline.c.

gboolean pcmk__force_args ( GOptionContext *  context,
GError **  error,
const char *  format,

Definition at line 251 of file cmdline.c.

void pcmk__free_arg_context ( GOptionContext *  context)

Definition at line 116 of file cmdline.c.

pcmk__common_args_t* pcmk__new_common_args ( const char *  summary)

Definition at line 29 of file cmdline.c.