diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-08-10 14:38:58 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-10-25 14:06:39 +1000 |
commit | c39c8d34282b82d73c3c69a16cf0c2816256d85b (patch) | |
tree | 2874d520eec059a5ee9a1298ae18ed01fcd9d7b7 /include/optionstr.h | |
parent | 16ac78a53c1edeae183db8672104587b306cfe13 (diff) |
input: switch InputOption to use XF86OptionRec storage.
Use the same struct for both InputOption and XF86OptionRec so we don't need
to convert to and fro the two in the config backends.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'include/optionstr.h')
-rw-r--r-- | include/optionstr.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/optionstr.h b/include/optionstr.h new file mode 100644 index 000000000..a71d245fa --- /dev/null +++ b/include/optionstr.h @@ -0,0 +1,14 @@ +#ifndef OPTIONSTR_H_ +#define OPTIONSTR_H_ +#include "list.h" + + +struct _InputOption { + GenericListRec list; + char *opt_name; + char *opt_val; + int opt_used; + char *opt_comment; +}; + +#endif /* INPUTSTRUCT_H */ |