aboutsummaryrefslogtreecommitdiffstats
path: root/android/cmdline-option.h
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2009-07-25 17:48:02 -0700
committerJean-Baptiste Queru <jbq@google.com>2009-07-25 17:48:02 -0700
commit6cfe67b3b6c6827a1fca860a36bbb8cda6d2056b (patch)
tree256687529fcf5e6adc8798878d899143077714de /android/cmdline-option.h
parent2b8ea29e2bd12f876a4d06647e6077bf72de567e (diff)
parentc5b127050f2dbed015d6b01703a33062d6910d4a (diff)
downloadexternal_qemu-6cfe67b3b6c6827a1fca860a36bbb8cda6d2056b.zip
external_qemu-6cfe67b3b6c6827a1fca860a36bbb8cda6d2056b.tar.gz
external_qemu-6cfe67b3b6c6827a1fca860a36bbb8cda6d2056b.tar.bz2
Merge korg/donut into korg/master
Diffstat (limited to 'android/cmdline-option.h')
-rw-r--r--android/cmdline-option.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/android/cmdline-option.h b/android/cmdline-option.h
index b87144d..90a7e64 100644
--- a/android/cmdline-option.h
+++ b/android/cmdline-option.h
@@ -12,9 +12,17 @@
#ifndef _ANDROID_OPTION_H
#define _ANDROID_OPTION_H
+/* a structure used to model a linked list of parameters
+ */
+typedef struct ParamList {
+ char* param;
+ struct ParamList* next;
+} ParamList;
+
/* define a structure that will hold all option variables
*/
typedef struct {
+#define OPT_LIST(n,t,d) ParamList* n;
#define OPT_PARAM(n,t,d) char* n;
#define OPT_FLAG(n,d) int n;
#include "android/cmdline-options.h"