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