]> git.itanic.dy.fi Git - glucose/blobdiff - options.h
main.c: Refactor data formatting out of main function
[glucose] / options.h
index 83fefb6ced1b3d4822a64dd7f376c948bebf6a6e..78f46b773e184c2c305404bc59aeb7722ed644e8 100644 (file)
--- a/options.h
+++ b/options.h
@@ -20,6 +20,8 @@
 #ifndef _OPTIONS_H_
 #define _OPTIONS_H_
 
+#include <stdio.h>
+
 struct user_options {
        char *usbdev;
        char *output_path;
@@ -29,6 +31,7 @@ struct user_options {
                CSV = 2,
        } output_format;
        int trace_level;
+       FILE *outf;
 };
 
 int read_args(int argc, char *argv[], struct user_options *opts);