1
mirror of https://github.com/hashcat/hashcat synced 2024-11-13 17:28:58 +01:00
hashcat/include/dictstat.h

30 lines
703 B
C
Raw Normal View History

2016-09-08 18:56:33 +02:00
/**
* Author......: See docs/credits.txt
2016-09-08 18:56:33 +02:00
* License.....: MIT
*/
#ifndef _DICTSTAT_H
#define _DICTSTAT_H
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <search.h>
2016-09-08 18:56:33 +02:00
#define MAX_DICTSTAT 10000
int sort_by_dictstat (const void *s1, const void *s2);
2016-10-06 17:26:15 +02:00
int dictstat_init (hashcat_ctx_t *hashcat_ctx);
2016-10-06 16:55:17 +02:00
void dictstat_destroy (hashcat_ctx_t *hashcat_ctx);
void dictstat_read (hashcat_ctx_t *hashcat_ctx);
int dictstat_write (hashcat_ctx_t *hashcat_ctx);
u64 dictstat_find (hashcat_ctx_t *hashcat_ctx, dictstat_t *d);
void dictstat_append (hashcat_ctx_t *hashcat_ctx, dictstat_t *d);
2016-09-08 18:56:33 +02:00
#endif // _DICTSTAT_H