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_tyfingerprint_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,
 )     (p)->method->addn((p), (s), (n))

Definition at line 57 of file fp.h.

#define FINGERPRINT_BASE_CLASS   struct fingerprint_methods_ty *method;

Definition at line 32 of file fp.h.

#define fingerprint_hash ( p,
 )     (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

void fingerprint_add ( fingerprint_ty ,
int   
)

void fingerprint_delete ( fingerprint_ty  ) 

int fingerprint_file_hash ( fingerprint_ty ,
const char *  ,
unsigned char *   
)

int fingerprint_file_sum ( fingerprint_ty ,
const char *  ,
char *  ,
size_t   
)

fingerprint_ty* fingerprint_new ( fingerprint_methods_ty  ) 


Generated on Wed Mar 12 23:37:38 2008 for Aegis by  doxygen 1.5.5