2016-09-06 13:28:56 +00:00
|
|
|
/**
|
2016-09-11 20:20:15 +00:00
|
|
|
* Author......: See docs/credits.txt
|
2016-09-06 13:28:56 +00:00
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
2016-09-06 16:44:05 +00:00
|
|
|
#ifndef _USAGE_H
|
|
|
|
#define _USAGE_H
|
2016-09-06 13:28:56 +00:00
|
|
|
|
2016-10-09 20:41:55 +00:00
|
|
|
#include <stdio.h>
|
2016-10-25 10:25:53 +00:00
|
|
|
#include <string.h>
|
2016-10-09 20:41:55 +00:00
|
|
|
|
2021-11-26 08:53:42 +00:00
|
|
|
#if defined (_WIN)
|
|
|
|
// for getch()
|
|
|
|
#include <conio.h>
|
|
|
|
#endif
|
|
|
|
|
2021-06-06 11:40:01 +00:00
|
|
|
typedef struct usage_sort
|
|
|
|
{
|
|
|
|
u32 hash_mode;
|
|
|
|
char *hash_name;
|
|
|
|
u32 hash_category;
|
|
|
|
|
|
|
|
} usage_sort_t;
|
|
|
|
|
2016-09-06 13:28:56 +00:00
|
|
|
void usage_mini_print (const char *progname);
|
2019-01-06 12:23:45 +00:00
|
|
|
void usage_big_print (hashcat_ctx_t *hashcat_ctx);
|
2021-06-06 11:40:01 +00:00
|
|
|
int sort_by_usage (const void *p1, const void *p2);
|
2016-09-06 16:44:05 +00:00
|
|
|
|
|
|
|
#endif // _USAGE_H
|