/* $Id: dgsHeader.c,v 1.1 2013/04/10 16:34:45 tl Exp $ */ #include #include #include #include "GTMerge.h" /*----------------------------------------------------------------------------*/ int printDgsHeader (DGSHEADER dgsHeader) { if (dgsHeader.id == 0xaaaaaaaa) { printf ("oops: file has no valid header (old data?)\n"); return (-1); } else { printf ("header ID of data is %i(0x%x)\n", dgsHeader.id, dgsHeader.id); }; /* done */ fflush (stdout); return (0); }