2016-09-06 17:44:27 +00:00
|
|
|
/**
|
2016-09-11 20:20:15 +00:00
|
|
|
* Author......: See docs/credits.txt
|
2016-09-06 17:44:27 +00:00
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _TUNINGDB_H
|
|
|
|
#define _TUNINGDB_H
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <errno.h>
|
|
|
|
|
2016-09-07 20:06:43 +00:00
|
|
|
#define TUNING_DB_FILE "hashcat.hctune"
|
|
|
|
|
2021-08-01 14:25:37 +00:00
|
|
|
int sort_by_tuning_db_alias (const void *v1, const void *v2);
|
|
|
|
int sort_by_tuning_db_entry (const void *v1, const void *v2);
|
|
|
|
|
2016-10-06 14:51:01 +00:00
|
|
|
int tuning_db_init (hashcat_ctx_t *hashcat_ctx);
|
|
|
|
void tuning_db_destroy (hashcat_ctx_t *hashcat_ctx);
|
2016-09-30 10:58:06 +00:00
|
|
|
|
2021-08-01 14:25:37 +00:00
|
|
|
bool tuning_db_process_line (hashcat_ctx_t *hashcat_ctx, const char *line_buf, const int line_num);
|
2019-02-12 14:30:42 +00:00
|
|
|
tuning_db_entry_t *tuning_db_search (hashcat_ctx_t *hashcat_ctx, const char *device_name, const cl_device_type device_type, int attack_mode, const int hash_mode);
|
2016-09-06 17:44:27 +00:00
|
|
|
|
|
|
|
#endif // _TUNINGDB_H
|