[PATCH] Warn on writable strings
[fio.git] / parse.h
diff --git a/parse.h b/parse.h
index be3d24ac43f1634a39a57b77ab84491cf7142b25..adbb3208e644c7bcac22ed96c58206553f9e1d42 100644 (file)
--- a/parse.h
+++ b/parse.h
@@ -7,6 +7,7 @@
 enum fio_opt_type {
        FIO_OPT_STR = 0,
        FIO_OPT_STR_VAL,
+       FIO_OPT_STR_VAL_INT,
        FIO_OPT_STR_VAL_TIME,
        FIO_OPT_STR_STORE,
        FIO_OPT_RANGE,
@@ -18,10 +19,12 @@ enum fio_opt_type {
  * Option define
  */
 struct fio_option {
-       char *name;
+       const char *name;
        enum fio_opt_type type;
        unsigned int off1;
        unsigned int off2;
+       unsigned int off3;
+       unsigned int off4;
        unsigned int max_val;
        void *cb;
 };