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 151 lib/common/options.c static struct option *long_opts = NULL; long_opts 153 lib/common/options.c if (long_opts == NULL && crm_long_options) { long_opts 154 lib/common/options.c long_opts = create_long_opts(crm_long_options); long_opts 158 lib/common/options.c if (long_opts) { long_opts 159 lib/common/options.c int flag = getopt_long(argc, argv, crm_short_options, long_opts, index); long_opts 163 lib/common/options.c if (long_opts[*index].val) { long_opts 164 lib/common/options.c return long_opts[*index].val; long_opts 166 lib/common/options.c *longname = long_opts[*index].name; long_opts 168 lib/common/options.c crm_notice("Unhandled option --%s", long_opts[*index].name); long_opts 251 maint/gnulib/lib/argp-parse.c struct option *long_opts; long_opts 326 maint/gnulib/lib/argp-parse.c && find_long_option (cvt->parser->long_opts, opt->name) < 0) long_opts 398 maint/gnulib/lib/argp-parse.c cvt.long_end = parser->long_opts; long_opts 503 maint/gnulib/lib/argp-parse.c parser->long_opts = (struct option *) (storage + csum); long_opts 765 maint/gnulib/lib/argp-parse.c struct option *long_opt = parser->long_opts; long_opts 803 maint/gnulib/lib/argp-parse.c parser->short_opts, parser->long_opts, 0, long_opts 807 maint/gnulib/lib/argp-parse.c parser->short_opts, parser->long_opts, 0,