File: fingerprint.h

package info (click to toggle)
hashrat 1.10.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,984 kB
  • sloc: ansic: 21,832; sh: 369; makefile: 187
file content (18 lines) | stat: -rw-r--r-- 496 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef HASHRAT_FINGERPRINT_H
#define HASHRAT_FINGERPRINT_H

#include "common.h"

/*
The 'fingerprint' concept here is the combination of a path, its hash, the hash type, etc.
*/


void TFingerprintDestroy(void *p_Fingerprint);
TFingerprint *TFingerprintCreate(const char *Hash, const char *HashType, const char *Data, const char *Path);
TFingerprint *FingerprintRead(STREAM *S);
TFingerprint *TFingerprintParse(const char *Data);
int FingerprintCompare(const void *v1, const void *v2);

#endif