#include <stdio.h>
Include dependency graph for footprint.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
char * | footprint (FILE *file) |
| |
long | crc (char *s) |
returns crc of string | |
long | crc (char *s, int len) |
returns crc of char array | |
double | footPrintDiff (const char *f1, const char *f2) |
returns equivalence percentage of two footprints |
|
returns crc of char array
Definition at line 81 of file footprint.cc. References COMPUTE. Referenced by readheader(), and writeheader(). |
|
returns crc of string
Definition at line 73 of file footprint.cc. References COMPUTE. |
|
footprint is as follows: cksum of first 5 blocks, cksum of last 5 blocks, take 15 blocks equally spaced from the rest of the file and cksum first 5, next 5 and last 5 current length: 32 chars Definition at line 119 of file footprint.cc. References cksumblock(), and encode(). Referenced by correctfile(), main(), and protectfile(). |
Here is the call graph for this function:
|
returns equivalence percentage of two footprints
Definition at line 158 of file footprint.cc. Referenced by correctfile(). |