long_opts 966 lib/common/utils.c struct option *long_opts = NULL; long_opts 978 lib/common/utils.c long_opts = realloc_safe(long_opts, (index + 1) * sizeof(struct option)); long_opts 979 lib/common/utils.c long_opts[index].name = "__dummmy__"; long_opts 980 lib/common/utils.c long_opts[index].has_arg = 0; long_opts 981 lib/common/utils.c long_opts[index].flag = 0; long_opts 982 lib/common/utils.c long_opts[index].val = '_'; long_opts 990 lib/common/utils.c long_opts = realloc_safe(long_opts, (index + 1) * sizeof(struct option)); long_opts 993 lib/common/utils.c long_opts[index].name = long_options[lpc].name; long_opts 994 lib/common/utils.c long_opts[index].has_arg = long_options[lpc].has_arg; long_opts 995 lib/common/utils.c long_opts[index].flag = long_options[lpc].flag; long_opts 996 lib/common/utils.c long_opts[index].val = long_options[lpc].val; long_opts 1001 lib/common/utils.c long_opts = realloc_safe(long_opts, (index + 1) * sizeof(struct option)); long_opts 1002 lib/common/utils.c long_opts[index].name = NULL; long_opts 1003 lib/common/utils.c long_opts[index].has_arg = 0; long_opts 1004 lib/common/utils.c long_opts[index].flag = 0; long_opts 1005 lib/common/utils.c long_opts[index].val = 0; long_opts 1008 lib/common/utils.c return long_opts; long_opts 1062 lib/common/utils.c static struct option *long_opts = NULL; long_opts 1064 lib/common/utils.c if (long_opts == NULL && crm_long_options) { long_opts 1065 lib/common/utils.c long_opts = crm_create_long_opts(crm_long_options); long_opts 1069 lib/common/utils.c if (long_opts) { long_opts 1070 lib/common/utils.c int flag = getopt_long(argc, argv, crm_short_options, long_opts, index); long_opts 1074 lib/common/utils.c if (long_opts[*index].val) { long_opts 1075 lib/common/utils.c return long_opts[*index].val; long_opts 1077 lib/common/utils.c *longname = long_opts[*index].name; long_opts 1079 lib/common/utils.c crm_notice("Unhandled option --%s", long_opts[*index].name);