mirror of https://github.com/hashcat/hashcat.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
487 B
34 lines
487 B
8 years ago
|
/**
|
||
|
* Author......: Jens Steube <jens.steube@gmail.com>
|
||
|
* 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>
|
||
|
|
||
|
#define MAX_DICTSTAT 10000
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
u64 cnt;
|
||
|
|
||
|
#if defined (_POSIX)
|
||
|
struct stat stat;
|
||
|
#endif
|
||
|
|
||
|
#if defined (_WIN)
|
||
|
struct __stat64 stat;
|
||
|
#endif
|
||
|
|
||
|
} dictstat_t;
|
||
|
|
||
|
int sort_by_dictstat (const void *s1, const void *s2);
|
||
|
|
||
|
#endif // _DICTSTAT_H
|