summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-28 19:12:04 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-28 19:27:09 +0200
commit31a5ffc4e23561a7aca0a20ba7ec555b628b74b3 (patch)
treea200c199c73f90b72ad1feec9fef324fe9827db9 /src/commands.h
parent2243c16eddbbded3537556cac2e483baffb6edaa (diff)
downloadcmumble-31a5ffc4e23561a7aca0a20ba7ec555b628b74b3.tar.gz
cmumble-31a5ffc4e23561a7aca0a20ba7ec555b628b74b3.tar.bz2
cmumble-31a5ffc4e23561a7aca0a20ba7ec555b628b74b3.zip
Pass argc and argv for internal commands
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands.h b/src/commands.h
index 6ea8c67..a2cca59 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -5,7 +5,8 @@ struct cmumble_context;
struct cmumble_command {
const char *name;
- void (*callback)(struct cmumble_context *);
+ void (*callback)(struct cmumble_context *,
+ int argc, char **argv);
const char *description;
};