long_opts 48 lib/common/options.c struct option *long_opts = NULL; long_opts 60 lib/common/options.c long_opts = pcmk__realloc(long_opts, (index + 1) * sizeof(struct option)); long_opts 61 lib/common/options.c long_opts[index].name = "__dummmy__"; long_opts 62 lib/common/options.c long_opts[index].has_arg = 0; long_opts 63 lib/common/options.c long_opts[index].flag = 0; long_opts 64 lib/common/options.c long_opts[index].val = '_'; long_opts 74 lib/common/options.c long_opts = pcmk__realloc(long_opts, (index + 1) * sizeof(struct option)); long_opts 77 lib/common/options.c long_opts[index].name = long_options[lpc].name; long_opts 78 lib/common/options.c long_opts[index].has_arg = long_options[lpc].has_arg; long_opts 79 lib/common/options.c long_opts[index].flag = long_options[lpc].flag; long_opts 80 lib/common/options.c long_opts[index].val = long_options[lpc].val; long_opts 85 lib/common/options.c long_opts = pcmk__realloc(long_opts, (index + 1) * sizeof(struct option)); long_opts 86 lib/common/options.c long_opts[index].name = NULL; long_opts 87 lib/common/options.c long_opts[index].has_arg = 0; long_opts 88 lib/common/options.c long_opts[index].flag = 0; long_opts 89 lib/common/options.c long_opts[index].val = 0; long_opts 92 lib/common/options.c return long_opts; long_opts 150 lib/common/options.c static struct option *long_opts = NULL; long_opts 152 lib/common/options.c if (long_opts == NULL && crm_long_options) { long_opts 153 lib/common/options.c long_opts = create_long_opts(crm_long_options); long_opts 157 lib/common/options.c if (long_opts) { long_opts 158 lib/common/options.c int flag = getopt_long(argc, argv, crm_short_options, long_opts, index); long_opts 162 lib/common/options.c if (long_opts[*index].val) { long_opts 163 lib/common/options.c return long_opts[*index].val; long_opts 165 lib/common/options.c *longname = long_opts[*index].name; long_opts 167 lib/common/options.c crm_notice("Unhandled option --%s", long_opts[*index].name);