aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index c464cee..7303ecb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -9,6 +9,14 @@
static void ftag_init(int, char **);
static void ftag_help(int, char **);
+static void ftag_tag(int, char **);
+
+/* Parse arguments using an array of available commands. ARGV[0] has to match
+ * the "name" field of an entry of COMMANDS. */
+static void parse_args(int argc,
+ char ** argv,
+ const struct ftag_command *commands,
+ int command_count);
struct ftag_command {
const char *name;