#include <stdio.h>
Include dependency graph for header.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
void | addheaderitem (const char *descr, const char *value) |
| |
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 |
|
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:
|
Definition at line 28 of file header.cc. References headerlen, initheader(), and theheader. |
Here is the call graph for this function:
|
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:
|
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:
|
length of one header
Definition at line 21 of file header.h. Referenced by addheaderitem(), correctfile(), initheader(), readheader(), and writeheader(). |