mirror of
https://github.com/pevans/erc-c.git
synced 2024-11-24 14:32:08 +00:00
4d4fbdf79a
Things like disk1, disk2, width/height, etc.
28 lines
624 B
C
28 lines
624 B
C
#ifndef _OPTIONS_H_
|
|
#define _OPTIONS_H_
|
|
|
|
#include <stdbool.h>
|
|
#include <stdio.h>
|
|
|
|
enum option_flags {
|
|
OPTION_FLASH = 1,
|
|
OPTION_DISASSEMBLE = 2,
|
|
};
|
|
|
|
/*
|
|
* These are the most possible number of disk inputs we can accept
|
|
*/
|
|
#define OPTION_MAX_DISKS 2
|
|
|
|
extern bool option_flag(int);
|
|
extern FILE *option_get_input(int);
|
|
extern const char *option_get_error();
|
|
extern int option_parse(int, char **);
|
|
extern int option_read_file(FILE **, const char *);
|
|
extern int option_set_size(const char *);
|
|
extern void option_print_help();
|
|
extern void option_set_error(const char *);
|
|
extern void option_set_input(int, FILE *);
|
|
|
|
#endif
|