#include "header.h"
#include "options.h"
#include "footprint.h"
#include <string.h>
#include <stdlib.h>
#include <iostream>
Include dependency graph for header.cc:
Go to the source code of this file.
Functions | |
void | initheader () |
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 | |
char | eprotmagic1 [] = "HPS." |
header.cc -*- c++ -*- Hans-Peter Stoerr Mon Nov 10 2003
| |
char | eprotmagic2 [] = "ErrorProtect" |
char | eprotversion [] = "(1.0,ecc-1.3.5)" |
char * | theheader = NULL |
|
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 17 of file header.cc. References addheaderitem(), eprotmagic1, eprotmagic2, eprotversion, headerlen, and theheader. Referenced by addheaderitem(). |
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:
|
header.cc -*- c++ -*- Hans-Peter Stoerr Mon Nov 10 2003
Definition at line 11 of file header.cc. Referenced by initheader(), and readheader(). |
|
Definition at line 12 of file header.cc. Referenced by initheader(), and readheader(). |
|
Definition at line 13 of file header.cc. Referenced by initheader(), and readheader(). |
|
Definition at line 15 of file header.cc. Referenced by addheaderitem(), initheader(), readheader(), and writeheader(). |