1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-10-12 10:58:57 +00:00
hashcat/include/pidfile.h

26 lines
421 B
C
Raw Normal View History

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef _PIDFILE_H
#define _PIDFILE_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
int pidfile_ctx_init (hashcat_ctx_t *hashcat_ctx);
void pidfile_ctx_destroy (hashcat_ctx_t *hashcat_ctx);
#endif // _PIDFILE_H