block: don't put spaces around :
[ironout.git] / src.h
blobce8ec0e6cb42b194a0292576e9e057b0da7dec9e
1 #ifndef _SRC_H
2 #define _SRC_H
4 struct src {
5 int count;
6 char **lines;
7 long *offsets;
8 /* the index from which offsets array is invalid */
9 int invalid_from;
12 struct src *src_from_file(char *filename);
13 struct src *src_copy(struct src *src);
14 void src_free(struct src *src);
16 void src_delete(struct src *src, long from, long to);
17 void src_insert(struct src *src, long offset, char *s);
19 void src_print_diffs(struct src *src1, struct src *src2, char *filename);
21 #endif