1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-12-22 14:30:45 +00:00
erc-c/include/option.h

23 lines
558 B
C
Raw Normal View History

2017-12-08 23:06:21 +00:00
#ifndef _OPTIONS_H_
#define _OPTIONS_H_
#include <stdio.h>
/*
* These are the most possible number of disk inputs we can accept
*/
#define OPTION_MAX_DISKS 2
extern FILE *option_get_input(int);
2017-12-26 22:47:34 +00:00
extern const char *option_get_error();
extern int option_get_height();
extern int option_get_width();
2017-12-08 23:06:21 +00:00
extern int option_parse(int, char **);
extern int option_read_file(int, const char *);
2017-12-26 22:47:34 +00:00
extern int option_set_size(const char *);
extern void option_print_help();
2017-12-08 23:06:21 +00:00
extern void option_set_error(const char *);
extern void option_set_input(int, FILE *);
#endif