1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-29 19:38:18 +00:00
hashcat/include/monitor.h

17 lines
390 B
C

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef _MONITOR_H
#define _MONITOR_H
#define STDIN_TIMEOUT_MIN 20 // warn after no input from stdin for x seconds
#define STDIN_TIMEOUT_MAX 120 // abort after no input from stdin for x seconds
int get_runtime_left (const hashcat_ctx_t *hashcat_ctx);
HC_API_CALL void *thread_monitor (void *p);
#endif // _MONITOR_H