Fingerprint
[Common]
Fingerprint types and functions.
More...
|
Data Structures |
struct | fingerprint_ty |
struct | fingerprint_methods_ty |
Defines |
#define | FINGERPRINT_BASE_CLASS struct fingerprint_methods_ty *method; |
#define | fingerprint_addn(p, s, n) (p)->method->addn((p), (s), (n)) |
#define | fingerprint_hash(p, s) (p)->method->hash((p), (s)) |
#define | fingerprint_sum(p, s, len) (p)->method->sum((p), (s), (len)) |
Functions |
fingerprint_ty * | fingerprint_new (fingerprint_methods_ty *) |
void | fingerprint_delete (fingerprint_ty *) |
void | fingerprint_add (fingerprint_ty *, int) |
int | fingerprint_file_hash (fingerprint_ty *, const char *, unsigned char *) |
int | fingerprint_file_sum (fingerprint_ty *, const char *, char *, size_t) |
Detailed Description
Fingerprint types and functions.
Define Documentation
#define fingerprint_addn |
( |
p, |
|
|
s, |
|
|
n |
|
) |
(p)->method->addn((p), (s), (n)) |
Definition at line 57 of file fp.h.
Definition at line 32 of file fp.h.
#define fingerprint_hash |
( |
p, |
|
|
s |
|
) |
(p)->method->hash((p), (s)) |
Definition at line 59 of file fp.h.
#define fingerprint_sum |
( |
p, |
|
|
s, |
|
|
len |
|
) |
(p)->method->sum((p), (s), (len)) |
Definition at line 61 of file fp.h.
Function Documentation
int fingerprint_file_hash |
( |
fingerprint_ty * |
, |
|
|
const char * |
, |
|
|
unsigned char * |
| |
|
) |
| | |
int fingerprint_file_sum |
( |
fingerprint_ty * |
, |
|
|
const char * |
, |
|
|
char * |
, |
|
|
size_t |
| |
|
) |
| | |