mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-20 05:13:51 -07:00
Added support for interuptable windows sleep
This commit is contained in:
parent
554d66c768
commit
00e6cc3a6c
2 changed files with 27 additions and 5 deletions
12
hydra.h
12
hydra.h
|
@ -132,9 +132,19 @@
|
|||
#define INET_ADDRSTRLEN 16
|
||||
#endif
|
||||
|
||||
int sleepn(time_t seconds);
|
||||
#ifndef _WIN32
|
||||
|
||||
int sleepn(time_t seconds);
|
||||
int usleepn(long int useconds);
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
int sleepn(unsigned int seconds);
|
||||
int usleepn(unsigned int useconds);
|
||||
|
||||
#endif
|
||||
|
||||
#define _HYDRA_H
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue