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+1995) |
Extra detail explaining what rsstats does. More... | |
#define | zFullVersion (rsstats_opt_strs+3361) |
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 184 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 190 of file rsstats-opts.c.
#define CLUSTERS_FLAGS |
Compiled in flag settings for the clusters option.
Definition at line 192 of file rsstats-opts.c.
#define CLUSTERS_NAME (rsstats_opt_strs+1081) |
Upper-cased name for the clusters option.
Definition at line 186 of file rsstats-opts.c.
#define CLUSTERS_name (rsstats_opt_strs+1090) |
Name string for the clusters option.
Definition at line 188 of file rsstats-opts.c.
#define HELP_DESC (rsstats_opt_strs+1178) |
Definition at line 214 of file rsstats-opts.c.
#define HELP_name (rsstats_opt_strs+1222) |
Definition at line 215 of file rsstats-opts.c.
#define INPUT_DESC (rsstats_opt_strs+861) |
input option description:
Descriptive text for the input option
Definition at line 154 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 160 of file rsstats-opts.c.
#define INPUT_FLAGS |
Compiled in flag settings for the input option.
Definition at line 162 of file rsstats-opts.c.
#define INPUT_NAME (rsstats_opt_strs+902) |
Upper-cased name for the input option.
Definition at line 156 of file rsstats-opts.c.
#define INPUT_name (rsstats_opt_strs+908) |
Name string for the input option.
Definition at line 158 of file rsstats-opts.c.
#define LOAD_OPTS_DESC (rsstats_opt_strs+1375) |
Definition at line 235 of file rsstats-opts.c.
#define LOAD_OPTS_NAME (rsstats_opt_strs+1407) |
Definition at line 236 of file rsstats-opts.c.
#define LOAD_OPTS_name (NO_LOAD_OPTS_name + 3) |
Definition at line 239 of file rsstats-opts.c.
#define LOAD_OPTS_pfx (rsstats_opt_strs+1430) |
Definition at line 238 of file rsstats-opts.c.
#define MORE_HELP_DESC HELP_DESC |
Definition at line 221 of file rsstats-opts.c.
#define MORE_HELP_FLAGS (OPTST_OMITTED | OPTST_NO_INIT) |
Definition at line 223 of file rsstats-opts.c.
#define MORE_HELP_name HELP_name |
Definition at line 222 of file rsstats-opts.c.
#define NO_LOAD_OPTS_name (rsstats_opt_strs+1417) |
Definition at line 237 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 398 of file rsstats-opts.c.
#define OUTPUT_DESC (rsstats_opt_strs+929) |
output option description:
Descriptive text for the output option
Definition at line 169 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 175 of file rsstats-opts.c.
#define OUTPUT_FLAGS |
Compiled in flag settings for the output option.
Definition at line 177 of file rsstats-opts.c.
#define OUTPUT_NAME (rsstats_opt_strs+994) |
Upper-cased name for the output option.
Definition at line 171 of file rsstats-opts.c.
#define OUTPUT_name (rsstats_opt_strs+1001) |
Name string for the output option.
Definition at line 173 of file rsstats-opts.c.
#define PKGDATADIR "" |
The directory containing the data associated with rsstats.
Definition at line 503 of file rsstats-opts.c.
#define REPORTS_DESC (rsstats_opt_strs+1103) |
reports option description:
Descriptive text for the reports option
Definition at line 199 of file rsstats-opts.c.
#define REPORTS_DFT_ARG (NULL) |
The compiled in default value for the reports option argument.
Definition at line 205 of file rsstats-opts.c.
#define REPORTS_FLAGS |
Compiled in flag settings for the reports option.
Definition at line 208 of file rsstats-opts.c.
#define REPORTS_NAME (rsstats_opt_strs+1162) |
Upper-cased name for the reports option.
Definition at line 201 of file rsstats-opts.c.
#define REPORTS_name (rsstats_opt_strs+1170) |
Name string for the reports option.
Definition at line 203 of file rsstats-opts.c.
#define ReportsCookieBits VOIDP(REPORTS_BDBS|REPORTS_CLUSTER) |
Definition at line 206 of file rsstats-opts.c.
#define rsstats_full_usage (NULL) |
Definition at line 402 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 511 of file rsstats-opts.c.
#define rsstats_short_usage (NULL) |
Definition at line 403 of file rsstats-opts.c.
#define SAVE_OPTS_DESC (rsstats_opt_strs+1326) |
Definition at line 233 of file rsstats-opts.c.
#define SAVE_OPTS_name (rsstats_opt_strs+1365) |
Definition at line 234 of file rsstats-opts.c.
#define translate_option_strings NULL |
Definition at line 399 of file rsstats-opts.c.
#define VER_DESC (rsstats_opt_strs+1282) |
Definition at line 231 of file rsstats-opts.c.
#define VER_FLAGS |
Definition at line 228 of file rsstats-opts.c.
#define VER_name (rsstats_opt_strs+1318) |
Definition at line 232 of file rsstats-opts.c.
#define VER_PROC optionPrintVersion |
Definition at line 250 of file rsstats-opts.c.
#define zBugsAddr (rsstats_opt_strs+1581) |
The rsstats program bug email address.
Definition at line 385 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+1995) |
Extra detail explaining what rsstats does.
Definition at line 389 of file rsstats-opts.c.
#define zExplain (rsstats_opt_strs+1603) |
Clarification/explanation of what rsstats does.
Definition at line 387 of file rsstats-opts.c.
#define zFullVersion (rsstats_opt_strs+3361) |
The full version string for rsstats.
Definition at line 391 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 375 of file rsstats-opts.c.
#define zRcName (rsstats_opt_strs+1570) |
rsstats configuration file name.
Definition at line 379 of file rsstats-opts.c.
#define zUsageTitle (rsstats_opt_strs+1441) |
Reference to the title line for rsstats usage.
Definition at line 377 of file rsstats-opts.c.
|
extern |
|
extern |
Declare option callback procedures.
tOptProc optionNestedVal |
Definition at line 244 of file rsstats-opts.c.
tOptProc optionNumericVal |
Definition at line 244 of file rsstats-opts.c.
tOptProc optionPagedUsage |
Definition at line 245 of file rsstats-opts.c.
tOptProc optionPrintVersion |
Definition at line 245 of file rsstats-opts.c.
tOptProc optionResetOpt |
Definition at line 245 of file rsstats-opts.c.
tOptProc optionStackArg |
Definition at line 246 of file rsstats-opts.c.
tOptProc optionTimeDate |
Definition at line 246 of file rsstats-opts.c.
tOptProc optionTimeVal |
Definition at line 246 of file rsstats-opts.c.
tOptProc optionUnstackArg |
Definition at line 247 of file rsstats-opts.c.
tOptProc optionVendorOption |
Definition at line 247 of file rsstats-opts.c.
tOptions rsstatsOptions |
The option definitions for rsstats.
The one structure that binds them all.
Definition at line 533 of file rsstats-opts.c.