aboutsummaryrefslogtreecommitdiffstats
path: root/android/cmdline-option.h
diff options
context:
space:
mode:
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"