1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-28 17:38:32 +00:00
hashcat/include/restore.h
Rosen Penev 4ceb7a1afa
Prefer _WIN to _POSIX for defines.
Also miscellaneous fixes here and there.
2017-02-23 15:55:06 -08:00

33 lines
609 B
C

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef _RESTORE_H
#define _RESTORE_H
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#if defined (_WIN)
#include <windows.h>
#include <psapi.h>
#else
#include <sys/types.h>
#include <sys/stat.h>
#endif // _WIN
#define RESTORE_VERSION_MIN 340
#define RESTORE_VERSION_CUR 340
int cycle_restore (hashcat_ctx_t *hashcat_ctx);
void unlink_restore (hashcat_ctx_t *hashcat_ctx);
int restore_ctx_init (hashcat_ctx_t *hashcat_ctx, int argc, char **argv);
void restore_ctx_destroy (hashcat_ctx_t *hashcat_ctx);
#endif // _RESTORE_H