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


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


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

#endif