summaryrefslogtreecommitdiff
path: root/include/options.h
blob: ee9d612780c026d6798c5ec21b48db10018f2a92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __OPTIONS_H__
#define __OPTIONS_H__


typedef struct {
  char *fnInput;
  char *fnOutput;
  int printHeader;
  int printSegments;
  int printSections;
  unsigned insertBeforeOffs;
  unsigned insertBeforeSz;
} CLIOpts;


void parseOptions(CLIOpts *opts, int argc, char **argv);

#endif