2016-09-07 22:01:34 +02:00
|
|
|
/**
|
2016-09-11 22:20:15 +02:00
|
|
|
* Author......: See docs/credits.txt
|
2016-09-07 22:01:34 +02:00
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _RESTORE_H
|
|
|
|
#define _RESTORE_H
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <errno.h>
|
|
|
|
|
2016-09-07 22:29:57 +02:00
|
|
|
#if defined (_WIN)
|
2016-09-07 22:01:34 +02:00
|
|
|
#include <windows.h>
|
2016-09-07 22:04:04 +02:00
|
|
|
#include <psapi.h>
|
2016-09-07 22:01:34 +02:00
|
|
|
#endif // _WIN
|
|
|
|
|
2017-01-27 16:29:18 +01:00
|
|
|
#define RESTORE_VERSION_MIN 340
|
2017-03-31 15:28:20 +02:00
|
|
|
#define RESTORE_VERSION_CUR 350
|
2016-09-07 22:01:34 +02:00
|
|
|
|
2016-10-09 22:41:55 +02:00
|
|
|
int cycle_restore (hashcat_ctx_t *hashcat_ctx);
|
2016-09-07 22:01:34 +02:00
|
|
|
|
2016-10-06 16:34:30 +02:00
|
|
|
void unlink_restore (hashcat_ctx_t *hashcat_ctx);
|
2016-10-04 11:03:20 +02:00
|
|
|
|
2016-10-06 16:34:30 +02:00
|
|
|
int restore_ctx_init (hashcat_ctx_t *hashcat_ctx, int argc, char **argv);
|
2016-09-25 01:02:44 +02:00
|
|
|
|
2016-10-06 16:34:30 +02:00
|
|
|
void restore_ctx_destroy (hashcat_ctx_t *hashcat_ctx);
|
2016-09-14 16:07:24 +02:00
|
|
|
|
2016-09-07 22:01:34 +02:00
|
|
|
#endif // _RESTORE_H
|