X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=commands.h;h=01bf387e44691c505a9e0577778a70db4bd5f641;hb=4b54ca8ba44ac7cee29cdf7f75c6ac472cfe59ef;hp=94229c112bc08eeef375aaa40e2074065ae0f396;hpb=98410fce1d4c9ca309a4460f251489d65af3fe52;p=platform%2Fupstream%2Fbtrfs-progs.git diff --git a/commands.h b/commands.h index 94229c1..01bf387 100644 --- a/commands.h +++ b/commands.h @@ -65,25 +65,11 @@ struct cmd_group { const struct cmd_struct commands[]; }; -/* btrfs.c */ -int prefixcmp(const char *str, const char *prefix); - int handle_command_group(const struct cmd_group *grp, int argc, char **argv); -/* help.c */ extern const char * const generic_cmd_help_usage[]; -void usage(const char * const *usagestr) __attribute__((noreturn)); -void usage_command(const struct cmd_struct *cmd, int full, int err); -void usage_command_group(const struct cmd_group *grp, int all, int err); -void usage_command_group_short(const struct cmd_group *grp); - -void help_unknown_token(const char *arg, const struct cmd_group *grp) __attribute__((noreturn)); -void help_ambiguous_token(const char *arg, const struct cmd_group *grp) __attribute__((noreturn)); - -void help_command_group(const struct cmd_group *grp, int argc, char **argv); - extern const struct cmd_group subvolume_cmd_group; extern const struct cmd_group filesystem_cmd_group; extern const struct cmd_group balance_cmd_group;