Lines Matching refs:opts
48 static int match(char **opts, char *s);
49 static int has_Nflag(char *opts);
407 stat_snap(char *cmd, char *mountpoint, char *opts)
428 fssnap_show_status(mountpoint, opts, 1, (opts ? 0 : 1));
431 has_Nflag(char *opts)
433 while (opts != NULL && *opts != '\0') {
434 if (match(&opts, "N")) {
437 if (!opts)
439 if (*opts == ',')
440 opts ++;
441 if (*opts == ' ')
442 opts ++;
448 * Return the opts string pointing to the next position in the string if
453 match(char **opts, char *s)
458 cs = *opts;
470 tmp_str = strchr(*opts, ',');
472 tmp_str = strchr(*opts, ' ');
474 *opts = tmp_str;
479 *opts = cs;