1
mirror of https://github.com/hashcat/hashcat synced 2024-11-13 17:28:58 +01:00
hashcat/include/restore.h

35 lines
642 B
C
Raw Normal View History

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef _RESTORE_H
#define _RESTORE_H
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#if defined (_POSIX)
#include <sys/types.h>
#include <sys/stat.h>
#endif // _POSIX
#if defined (_WIN)
#include <windows.h>
2016-09-07 22:04:04 +02:00
#include <psapi.h>
#endif // _WIN
#define RESTORE_VERSION_MIN 320
#define RESTORE_VERSION_CUR 320
int cycle_restore (hashcat_ctx_t *hashcat_ctx);
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);
#endif // _RESTORE_H