Refactor perl code to write file header
[emu8051.git] / src / options.h
index 4c38439..a03173e 100644 (file)
   "  -h                    display this help and exit\n" \
   "  -version              display version information and exit\n"
 
-void
-ParseCommandLineOptions(int argc, char *argv[]);
+struct options_t {
+       int pram_size; /* Maximum program memory size. */
+       int iram_size; /* Maximum internal ram size. */
+       int xram_size; /* Maximum external ram size. */
+       char *filename;
+       int log;
+} options_t;
 
-char *
-get_hex_filename(void);
+void
+parse_command_line_options(int argc, char *argv[]);
 
 const char *
 get_package_description(void);