mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-23 00:28:11 +00:00
20a7b9f992
See src/modules/module_08900.c as an example
24 lines
707 B
C
24 lines
707 B
C
/**
|
|
* Author......: See docs/credits.txt
|
|
* License.....: MIT
|
|
*/
|
|
|
|
#ifndef _TUNINGDB_H
|
|
#define _TUNINGDB_H
|
|
|
|
#include <stdio.h>
|
|
#include <errno.h>
|
|
|
|
#define TUNING_DB_FILE "hashcat.hctune"
|
|
|
|
int sort_by_tuning_db_alias (const void *v1, const void *v2);
|
|
int sort_by_tuning_db_entry (const void *v1, const void *v2);
|
|
|
|
int tuning_db_init (hashcat_ctx_t *hashcat_ctx);
|
|
void tuning_db_destroy (hashcat_ctx_t *hashcat_ctx);
|
|
|
|
bool tuning_db_process_line (hashcat_ctx_t *hashcat_ctx, const char *line_buf, const int line_num);
|
|
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);
|
|
|
|
#endif // _TUNINGDB_H
|