mirror of
https://github.com/hashcat/hashcat
synced 2024-11-13 17:28:58 +01:00
30 lines
809 B
C
30 lines
809 B
C
/**
|
|
* Author......: See docs/credits.txt
|
|
* 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>
|
|
|
|
#define MAX_DICTSTAT 10000
|
|
|
|
int sort_by_dictstat (const void *s1, const void *s2);
|
|
|
|
void dictstat_init (dictstat_ctx_t *dictstat_ctx, const user_options_t *user_options, const folder_config_t *folder_config);
|
|
void dictstat_destroy (dictstat_ctx_t *dictstat_ctx);
|
|
void dictstat_read (dictstat_ctx_t *dictstat_ctx, const int comptime);
|
|
int dictstat_write (dictstat_ctx_t *dictstat_ctx);
|
|
u64 dictstat_find (dictstat_ctx_t *dictstat_ctx, dictstat_t *d);
|
|
void dictstat_append (dictstat_ctx_t *dictstat_ctx, dictstat_t *d);
|
|
|
|
#endif // _DICTSTAT_H
|