#ifndef _DATASTRUCT_H_7a04ab48_ #define _DATASTRUCT_H_7a04ab48_ 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 { FIL *link; char *name; HUNK *diffs; } ; struct hunkline { HUNK *h; int l; HLT type; char *text; } ; struct hunk { HUNK *alink; HUNK *flink; FIL *f; int fl; int fn; int tl; int tn; HUNKLINE *lines; } ; extern FIL *files; extern HUNK *hunks; #endif