#ifndef _DATASTRUCT_H_d3b055bd_ #define _DATASTRUCT_H_d3b055bd_ typedef enum { HLT_COMMON = 1, HLT_FROM, HLT_TO, } HLT; typedef struct fil FIL; /* stdio has FILE sewed up */ typedef struct hunk HUNK; typedef struct hunkline HUNKLINE; struct fil { char *name; HUNK *diffs; } ; struct hunkline { HUNK *h; int l; HLT type; char *text; } ; struct hunk { FIL *f; int fl; int fn; int tl; int tn; HUNKLINE *lines; } ; #endif