mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-23 00:28:11 +00:00
Merge pull request #1696 from neheb/master
Add HC_API_CALL to a few functions
This commit is contained in:
commit
93ccabb58f
@ -6,6 +6,6 @@
|
||||
#ifndef _AUTOTUNE_H
|
||||
#define _AUTOTUNE_H
|
||||
|
||||
void *thread_autotune (void *p);
|
||||
HC_API_CALL void *thread_autotune (void *p);
|
||||
|
||||
#endif // _AUTOTUNE_H
|
||||
|
@ -6,7 +6,7 @@
|
||||
#ifndef _DISPATCH_H
|
||||
#define _DISPATCH_H
|
||||
|
||||
void *thread_calc_stdin (void *p);
|
||||
void *thread_calc (void *p);
|
||||
HC_API_CALL void *thread_calc_stdin (void *p);
|
||||
HC_API_CALL void *thread_calc (void *p);
|
||||
|
||||
#endif // _DISPATCH_H
|
||||
|
@ -8,6 +8,6 @@
|
||||
|
||||
int get_runtime_left (const hashcat_ctx_t *hashcat_ctx);
|
||||
|
||||
void *thread_monitor (void *p);
|
||||
HC_API_CALL void *thread_monitor (void *p);
|
||||
|
||||
#endif // _MONITOR_H
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#define OUTFILES_DIR "outfiles"
|
||||
|
||||
void *thread_outfile_remove (void *p);
|
||||
HC_API_CALL void *thread_outfile_remove (void *p);
|
||||
|
||||
int outcheck_ctx_init (hashcat_ctx_t *hashcat_ctx);
|
||||
void outcheck_ctx_destroy (hashcat_ctx_t *hashcat_ctx);
|
||||
|
@ -6,6 +6,6 @@
|
||||
#ifndef _SELFTEST_H
|
||||
#define _SELFTEST_H
|
||||
|
||||
void *thread_selftest (void *p);
|
||||
HC_API_CALL void *thread_selftest (void *p);
|
||||
|
||||
#endif // _SELFTEST_H
|
||||
|
@ -29,7 +29,7 @@ int setup_console (void);
|
||||
void send_prompt (hashcat_ctx_t *hashcat_ctx);
|
||||
void clear_prompt (hashcat_ctx_t *hashcat_ctx);
|
||||
|
||||
void *thread_keypress (void *p);
|
||||
HC_API_CALL void *thread_keypress (void *p);
|
||||
|
||||
#if defined (_WIN)
|
||||
void SetConsoleWindowSize (const int x);
|
||||
|
@ -272,7 +272,7 @@ static int autotune (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param
|
||||
return 0;
|
||||
}
|
||||
|
||||
void *thread_autotune (void *p)
|
||||
HC_API_CALL void *thread_autotune (void *p)
|
||||
{
|
||||
thread_param_t *thread_param = (thread_param_t *) p;
|
||||
|
||||
|
@ -474,7 +474,7 @@ static int calc_stdin (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_par
|
||||
return 0;
|
||||
}
|
||||
|
||||
void *thread_calc_stdin (void *p)
|
||||
HC_API_CALL void *thread_calc_stdin (void *p)
|
||||
{
|
||||
thread_param_t *thread_param = (thread_param_t *) p;
|
||||
|
||||
@ -1429,7 +1429,7 @@ static int calc (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void *thread_calc (void *p)
|
||||
HC_API_CALL void *thread_calc (void *p)
|
||||
{
|
||||
thread_param_t *thread_param = (thread_param_t *) p;
|
||||
|
||||
|
@ -308,7 +308,7 @@ static int monitor (hashcat_ctx_t *hashcat_ctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void *thread_monitor (void *p)
|
||||
HC_API_CALL void *thread_monitor (void *p)
|
||||
{
|
||||
hashcat_ctx_t *hashcat_ctx = (hashcat_ctx_t *) p;
|
||||
|
||||
|
@ -325,7 +325,7 @@ static int outfile_remove (hashcat_ctx_t *hashcat_ctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void *thread_outfile_remove (void *p)
|
||||
HC_API_CALL void *thread_outfile_remove (void *p)
|
||||
{
|
||||
hashcat_ctx_t *hashcat_ctx = (hashcat_ctx_t *) p;
|
||||
|
||||
|
@ -552,7 +552,7 @@ static int selftest (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param
|
||||
return 0;
|
||||
}
|
||||
|
||||
void *thread_selftest (void *p)
|
||||
HC_API_CALL void *thread_selftest (void *p)
|
||||
{
|
||||
thread_param_t *thread_param = (thread_param_t *) p;
|
||||
|
||||
|
@ -314,7 +314,7 @@ static void keypress (hashcat_ctx_t *hashcat_ctx)
|
||||
tty_fix ();
|
||||
}
|
||||
|
||||
void *thread_keypress (void *p)
|
||||
HC_API_CALL void *thread_keypress (void *p)
|
||||
{
|
||||
hashcat_ctx_t *hashcat_ctx = (hashcat_ctx_t *) p;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user