rsstats 0.0.1
Redis Enterprise Statistic collector
|
#include "rsstats-opts.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
Go to the source code of this file.
Macros | |
#define | OPTION_CODE_COMPILE 1 |
#define | zCopyright (rsstats_opt_strs+0) |
#define | zLicenseDescrip (rsstats_opt_strs+258) |
#define | NULL 0 |
#define | INPUT_DESC (rsstats_opt_strs+861) |
input option description: More... | |
#define | INPUT_NAME (rsstats_opt_strs+902) |
Upper-cased name for the input option. More... | |
#define | INPUT_name (rsstats_opt_strs+908) |
Name string for the input option. More... | |
#define | INPUT_DFT_ARG (rsstats_opt_strs+914) |
The compiled in default value for the input option argument. More... | |
#define | INPUT_FLAGS |
Compiled in flag settings for the input option. More... | |
#define | OUTPUT_DESC (rsstats_opt_strs+929) |
output option description: More... | |
#define | OUTPUT_NAME (rsstats_opt_strs+994) |
Upper-cased name for the output option. More... | |
#define | OUTPUT_name (rsstats_opt_strs+1001) |
Name string for the output option. More... | |
#define | OUTPUT_DFT_ARG (rsstats_opt_strs+1008) |
The compiled in default value for the output option argument. More... | |
#define | OUTPUT_FLAGS |
Compiled in flag settings for the output option. More... | |
#define | CLUSTERS_DESC (rsstats_opt_strs+1020) |
clusters option description: More... | |
#define | CLUSTERS_NAME (rsstats_opt_strs+1081) |
Upper-cased name for the clusters option. More... | |
#define | CLUSTERS_name (rsstats_opt_strs+1090) |
Name string for the clusters option. More... | |
#define | CLUSTERS_DFT_ARG (rsstats_opt_strs+1099) |
The compiled in default value for the clusters option argument. More... | |
#define | CLUSTERS_FLAGS |
Compiled in flag settings for the clusters option. More... | |
#define | REPORTS_DESC (rsstats_opt_strs+1103) |
reports option description: More... | |
#define | REPORTS_NAME (rsstats_opt_strs+1162) |
Upper-cased name for the reports option. More... | |
#define | REPORTS_name (rsstats_opt_strs+1170) |
Name string for the reports option. More... | |
#define | REPORTS_DFT_ARG (NULL) |
The compiled in default value for the reports option argument. More... | |
#define | ReportsCookieBits VOIDP(REPORTS_BDBS|REPORTS_CLUSTER) |
#define | REPORTS_FLAGS |
Compiled in flag settings for the reports option. More... | |
#define | HELP_DESC (rsstats_opt_strs+1178) |
#define | HELP_name (rsstats_opt_strs+1222) |
#define | MORE_HELP_DESC HELP_DESC |
#define | MORE_HELP_name HELP_name |
#define | MORE_HELP_FLAGS (OPTST_OMITTED | OPTST_NO_INIT) |
#define | VER_FLAGS |
#define | VER_DESC (rsstats_opt_strs+1282) |
#define | VER_name (rsstats_opt_strs+1318) |
#define | SAVE_OPTS_DESC (rsstats_opt_strs+1326) |
#define | SAVE_OPTS_name (rsstats_opt_strs+1365) |
#define | LOAD_OPTS_DESC (rsstats_opt_strs+1375) |
#define | LOAD_OPTS_NAME (rsstats_opt_strs+1407) |
#define | NO_LOAD_OPTS_name (rsstats_opt_strs+1417) |
#define | LOAD_OPTS_pfx (rsstats_opt_strs+1430) |
#define | LOAD_OPTS_name (NO_LOAD_OPTS_name + 3) |
#define | VER_PROC optionPrintVersion |
#define | zPROGNAME (rsstats_opt_strs+1433) |
Reference to the upper cased version of rsstats. More... | |
#define | zUsageTitle (rsstats_opt_strs+1441) |
Reference to the title line for rsstats usage. More... | |
#define | zRcName (rsstats_opt_strs+1570) |
rsstats configuration file name. More... | |
#define | zBugsAddr (rsstats_opt_strs+1581) |
The rsstats program bug email address. More... | |
#define | zExplain (rsstats_opt_strs+1603) |
Clarification/explanation of what rsstats does. More... | |
#define | zDetail (rsstats_opt_strs+1672) |
Extra detail explaining what rsstats does. More... | |
#define | zFullVersion (rsstats_opt_strs+1859) |
The full version string for rsstats. More... | |
#define | OPTPROC_BASE OPTPROC_NONE |
#define | translate_option_strings NULL |
#define | rsstats_full_usage (NULL) |
#define | rsstats_short_usage (NULL) |
#define | O_CLOEXEC 0 |
#define | PKGDATADIR "" |
The directory containing the data associated with rsstats. More... | |
#define | rsstats_packager_info NULL |
Information about the person or institution that packaged rsstats for the current distribution. More... | |
Variables | |
FILE * | option_usage_fp |
tOptProc | optionBooleanVal |
Declare option callback procedures. More... | |
tOptProc | optionNestedVal |
tOptProc | optionNumericVal |
tOptProc | optionPagedUsage |
tOptProc | optionPrintVersion |
tOptProc | optionResetOpt |
tOptProc | optionStackArg |
tOptProc | optionTimeDate |
tOptProc | optionTimeVal |
tOptProc | optionUnstackArg |
tOptProc | optionVendorOption |
tOptions | rsstatsOptions |
The option definitions for rsstats. More... | |
#define CLUSTERS_DESC (rsstats_opt_strs+1020) |
clusters option description:
Descriptive text for the clusters option
Definition at line 159 of file rsstats-opts.c.
#define CLUSTERS_DFT_ARG (rsstats_opt_strs+1099) |
The compiled in default value for the clusters option argument.
Definition at line 165 of file rsstats-opts.c.
#define CLUSTERS_FLAGS |
Compiled in flag settings for the clusters option.
Definition at line 167 of file rsstats-opts.c.
#define CLUSTERS_NAME (rsstats_opt_strs+1081) |
Upper-cased name for the clusters option.
Definition at line 161 of file rsstats-opts.c.
#define CLUSTERS_name (rsstats_opt_strs+1090) |
Name string for the clusters option.
Definition at line 163 of file rsstats-opts.c.
#define HELP_DESC (rsstats_opt_strs+1178) |
Definition at line 189 of file rsstats-opts.c.
#define HELP_name (rsstats_opt_strs+1222) |
Definition at line 190 of file rsstats-opts.c.
#define INPUT_DESC (rsstats_opt_strs+861) |
input option description:
Descriptive text for the input option
Definition at line 129 of file rsstats-opts.c.
#define INPUT_DFT_ARG (rsstats_opt_strs+914) |
The compiled in default value for the input option argument.
Definition at line 135 of file rsstats-opts.c.
#define INPUT_FLAGS |
Compiled in flag settings for the input option.
Definition at line 137 of file rsstats-opts.c.
#define INPUT_NAME (rsstats_opt_strs+902) |
Upper-cased name for the input option.
Definition at line 131 of file rsstats-opts.c.
#define INPUT_name (rsstats_opt_strs+908) |
Name string for the input option.
Definition at line 133 of file rsstats-opts.c.
#define LOAD_OPTS_DESC (rsstats_opt_strs+1375) |
Definition at line 210 of file rsstats-opts.c.
#define LOAD_OPTS_NAME (rsstats_opt_strs+1407) |
Definition at line 211 of file rsstats-opts.c.
#define LOAD_OPTS_name (NO_LOAD_OPTS_name + 3) |
Definition at line 214 of file rsstats-opts.c.
#define LOAD_OPTS_pfx (rsstats_opt_strs+1430) |
Definition at line 213 of file rsstats-opts.c.
#define MORE_HELP_DESC HELP_DESC |
Definition at line 196 of file rsstats-opts.c.
#define MORE_HELP_FLAGS (OPTST_OMITTED | OPTST_NO_INIT) |
Definition at line 198 of file rsstats-opts.c.
#define MORE_HELP_name HELP_name |
Definition at line 197 of file rsstats-opts.c.
#define NO_LOAD_OPTS_name (rsstats_opt_strs+1417) |
Definition at line 212 of file rsstats-opts.c.
#define NULL 0 |
Definition at line 64 of file rsstats-opts.c.
#define O_CLOEXEC 0 |
#define OPTION_CODE_COMPILE 1 |
Definition at line 42 of file rsstats-opts.c.
#define OPTPROC_BASE OPTPROC_NONE |
Definition at line 373 of file rsstats-opts.c.
#define OUTPUT_DESC (rsstats_opt_strs+929) |
output option description:
Descriptive text for the output option
Definition at line 144 of file rsstats-opts.c.
#define OUTPUT_DFT_ARG (rsstats_opt_strs+1008) |
The compiled in default value for the output option argument.
Definition at line 150 of file rsstats-opts.c.
#define OUTPUT_FLAGS |
Compiled in flag settings for the output option.
Definition at line 152 of file rsstats-opts.c.
#define OUTPUT_NAME (rsstats_opt_strs+994) |
Upper-cased name for the output option.
Definition at line 146 of file rsstats-opts.c.
#define OUTPUT_name (rsstats_opt_strs+1001) |
Name string for the output option.
Definition at line 148 of file rsstats-opts.c.
#define PKGDATADIR "" |
The directory containing the data associated with rsstats.
Definition at line 478 of file rsstats-opts.c.
#define REPORTS_DESC (rsstats_opt_strs+1103) |
reports option description:
Descriptive text for the reports option
Definition at line 174 of file rsstats-opts.c.
#define REPORTS_DFT_ARG (NULL) |
The compiled in default value for the reports option argument.
Definition at line 180 of file rsstats-opts.c.
#define REPORTS_FLAGS |
Compiled in flag settings for the reports option.
Definition at line 183 of file rsstats-opts.c.
#define REPORTS_NAME (rsstats_opt_strs+1162) |
Upper-cased name for the reports option.
Definition at line 176 of file rsstats-opts.c.
#define REPORTS_name (rsstats_opt_strs+1170) |
Name string for the reports option.
Definition at line 178 of file rsstats-opts.c.
#define ReportsCookieBits VOIDP(REPORTS_BDBS|REPORTS_CLUSTER) |
Definition at line 181 of file rsstats-opts.c.
#define rsstats_full_usage (NULL) |
Definition at line 377 of file rsstats-opts.c.
#define rsstats_packager_info NULL |
Information about the person or institution that packaged rsstats for the current distribution.
Definition at line 486 of file rsstats-opts.c.
#define rsstats_short_usage (NULL) |
Definition at line 378 of file rsstats-opts.c.
#define SAVE_OPTS_DESC (rsstats_opt_strs+1326) |
Definition at line 208 of file rsstats-opts.c.
#define SAVE_OPTS_name (rsstats_opt_strs+1365) |
Definition at line 209 of file rsstats-opts.c.
#define translate_option_strings NULL |
Definition at line 374 of file rsstats-opts.c.
#define VER_DESC (rsstats_opt_strs+1282) |
Definition at line 206 of file rsstats-opts.c.
#define VER_FLAGS |
Definition at line 203 of file rsstats-opts.c.
#define VER_name (rsstats_opt_strs+1318) |
Definition at line 207 of file rsstats-opts.c.
#define VER_PROC optionPrintVersion |
Definition at line 225 of file rsstats-opts.c.
#define zBugsAddr (rsstats_opt_strs+1581) |
The rsstats program bug email address.
Definition at line 360 of file rsstats-opts.c.
#define zCopyright (rsstats_opt_strs+0) |
Definition at line 59 of file rsstats-opts.c.
#define zDetail (rsstats_opt_strs+1672) |
Extra detail explaining what rsstats does.
Definition at line 364 of file rsstats-opts.c.
#define zExplain (rsstats_opt_strs+1603) |
Clarification/explanation of what rsstats does.
Definition at line 362 of file rsstats-opts.c.
#define zFullVersion (rsstats_opt_strs+1859) |
The full version string for rsstats.
Definition at line 366 of file rsstats-opts.c.
#define zLicenseDescrip (rsstats_opt_strs+258) |
Definition at line 60 of file rsstats-opts.c.
#define zPROGNAME (rsstats_opt_strs+1433) |
Reference to the upper cased version of rsstats.
Definition at line 350 of file rsstats-opts.c.
#define zRcName (rsstats_opt_strs+1570) |
rsstats configuration file name.
Definition at line 354 of file rsstats-opts.c.
#define zUsageTitle (rsstats_opt_strs+1441) |
Reference to the title line for rsstats usage.
Definition at line 352 of file rsstats-opts.c.
|
extern |
|
extern |
Declare option callback procedures.
tOptProc optionNestedVal |
Definition at line 219 of file rsstats-opts.c.
tOptProc optionNumericVal |
Definition at line 219 of file rsstats-opts.c.
tOptProc optionPagedUsage |
Definition at line 220 of file rsstats-opts.c.
tOptProc optionPrintVersion |
Definition at line 220 of file rsstats-opts.c.
tOptProc optionResetOpt |
Definition at line 220 of file rsstats-opts.c.
tOptProc optionStackArg |
Definition at line 221 of file rsstats-opts.c.
tOptProc optionTimeDate |
Definition at line 221 of file rsstats-opts.c.
tOptProc optionTimeVal |
Definition at line 221 of file rsstats-opts.c.
tOptProc optionUnstackArg |
Definition at line 222 of file rsstats-opts.c.
tOptProc optionVendorOption |
Definition at line 222 of file rsstats-opts.c.
tOptions rsstatsOptions |
The option definitions for rsstats.
The one structure that binds them all.
Definition at line 508 of file rsstats-opts.c.