Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

header.h File Reference

#include <stdio.h>

Include dependency graph for header.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

void addheaderitem (const char *descr, const char *value)
 
Id
header.h,v 1.4 2003/12/30 11:01:22 stoerr Exp
add item to header

void addheaderitem (const char *descr, const long value)
 add item to header

void writeheader (FILE *outfile)
 writes the header to a file

char * readheader (FILE *infile)
 reads header from a file. file is positioned on data, aferwards.


Variables

const int headerlen = 2048
 length of one header


Function Documentation

void addheaderitem const char *  descr,
const long  value
 

add item to header

Definition at line 37 of file header.cc.

References headerlen, initheader(), and theheader.

Referenced by initheader(), protectfile(), and writeheader().

Here is the call graph for this function:

void addheaderitem const char *  descr,
const char *  value
 

Id
header.h,v 1.4 2003/12/30 11:01:22 stoerr Exp
add item to header

Definition at line 28 of file header.cc.

References headerlen, initheader(), and theheader.

Here is the call graph for this function:

char* readheader FILE *  infile  ) 
 

reads header from a file. file is positioned on data, aferwards.

Definition at line 55 of file header.cc.

References crc(), eccfname, eprotmagic1, eprotmagic2, eprotversion, headerlen, progname, and theheader.

Referenced by correctfile().

Here is the call graph for this function:

void writeheader FILE *  outfile  ) 
 

writes the header to a file

Definition at line 46 of file header.cc.

References addheaderitem(), crc(), headerlen, and theheader.

Referenced by protectfile().

Here is the call graph for this function:


Variable Documentation

const int headerlen = 2048
 

length of one header

Definition at line 21 of file header.h.

Referenced by addheaderitem(), correctfile(), initheader(), readheader(), and writeheader().


Generated on Tue Dec 30 12:07:38 2003 for ErrorProtect by doxygen 1.3.2