Clean up main.c a bit
[centaur.git] / include / options.h
1 #ifndef __OPTIONS_H__
2 #define __OPTIONS_H__
3
4
5 typedef struct {
6   char *fnInput;
7   char *fnOutput;
8   int printHeader;
9   int printSegments;
10   int printSections;
11   unsigned insertBeforeOffs;
12   unsigned insertBeforeSz;
13   unsigned insertAfterOffs;
14   unsigned insertAfterSz;
15   unsigned expandNobitsOffs;
16   char *fnReladd;
17 } CLIOpts;
18
19
20 void parseOptions(CLIOpts *opts, int argc, char **argv);
21
22 #endif