aboutsummaryrefslogtreecommitdiff
path: root/include/types.h
blob: 9fb78094e2506e5a7ed1870cd914a5fed8fae2cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef TYPES_H
#define TYPES_H

#include <stdbool.h>
#include <stddef.h>

struct line {
  size_t len;
  char *buf;
};

struct filedata {
  int lc;
  bool binary;

  size_t buflen;

  char *buf;
  struct line *lines;
};

#endif