pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Functions
cmdline.c File Reference
#include <crm_internal.h>
#include <ctype.h>
#include <glib.h>
#include <crm/crm.h>
#include <crm/common/cmdline_internal.h>
#include <crm/common/strings_internal.h>
#include <crm/common/util.h>
Include dependency graph for cmdline.c:

Go to the source code of this file.

Functions

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, const GOptionEntry entries[])
 
void pcmk__add_arg_group (GOptionContext *context, const char *name, const char *header, const char *desc, const GOptionEntry entries[])
 
gchar * pcmk__quote_cmdline (gchar **argv)
 
gchar ** pcmk__cmdline_preproc (char *const *argv, const char *special)
 
gboolean pcmk__force_args (GOptionContext *context, GError **error, const char *format,...)
 

Function Documentation

◆ pcmk__add_arg_group()

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

Definition at line 132 of file cmdline.c.

◆ pcmk__add_main_args()

void pcmk__add_main_args ( GOptionContext *  context,
const GOptionEntry  entries[] 
)

Definition at line 124 of file cmdline.c.

◆ pcmk__build_arg_context()

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

Definition at line 63 of file cmdline.c.

◆ pcmk__cmdline_preproc()

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

Definition at line 213 of file cmdline.c.

◆ pcmk__force_args()

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

Definition at line 356 of file cmdline.c.

◆ pcmk__free_arg_context()

void pcmk__free_arg_context ( GOptionContext *  context)

Definition at line 115 of file cmdline.c.

◆ pcmk__new_common_args()

pcmk__common_args_t* pcmk__new_common_args ( const char *  summary)

Definition at line 28 of file cmdline.c.

◆ pcmk__quote_cmdline()

gchar* pcmk__quote_cmdline ( gchar **  argv)

Definition at line 163 of file cmdline.c.