diff options
author | buytenh <buytenh> | 2001-12-07 14:27:43 +0000 |
---|---|---|
committer | buytenh <buytenh> | 2001-12-07 14:27:43 +0000 |
commit | 757498e8e254e269d05a4e03ae80db5eb4377d40 (patch) | |
tree | 4f27e4dc2e60ff158ab3d2d752485d39afab93c1 /brctl/brctl.h | |
parent | b2282c7ff1059ed1915a69a5fe41d9049c7b14c4 (diff) | |
download | android_external_brctl-757498e8e254e269d05a4e03ae80db5eb4377d40.tar.gz android_external_brctl-757498e8e254e269d05a4e03ae80db5eb4377d40.tar.bz2 android_external_brctl-757498e8e254e269d05a4e03ae80db5eb4377d40.zip |
Check if correct number of arguments given to an option.
Handle ELOOP return condition from br_add_bridge.
Diffstat (limited to 'brctl/brctl.h')
-rw-r--r-- | brctl/brctl.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/brctl/brctl.h b/brctl/brctl.h index fac71c9..c582f47 100644 --- a/brctl/brctl.h +++ b/brctl/brctl.h @@ -21,9 +21,10 @@ struct command { - int needs_bridge_argument; - char *name; - void (*func)(struct bridge *br, char *arg0, char *arg1); + int needs_bridge_argument; + int num_string_arguments; + char *name; + void (*func)(struct bridge *br, char *arg0, char *arg1); }; struct command *br_command_lookup(char *cmd); |