Get rid of global get_next_word_func function pointer variable
This commit is contained in:
@@ -736,6 +736,8 @@ typedef struct
|
||||
u32 cnt;
|
||||
u32 pos;
|
||||
|
||||
void (*func) (char *, u32, u32 *, u32 *);
|
||||
|
||||
} wl_data_t;
|
||||
|
||||
typedef struct
|
||||
@@ -1015,14 +1017,15 @@ typedef struct
|
||||
char *custom_charset_3;
|
||||
char *custom_charset_4;
|
||||
|
||||
hashconfig_t *hashconfig;
|
||||
hashes_t *hashes;
|
||||
|
||||
outfile_ctx_t *outfile_ctx;
|
||||
potfile_ctx_t *potfile_ctx;
|
||||
loopback_ctx_t *loopback_ctx;
|
||||
debugfile_ctx_t *debugfile_ctx;
|
||||
session_ctx_t *session_ctx;
|
||||
hashconfig_t *hashconfig;
|
||||
hashes_t *hashes;
|
||||
user_options_t *user_options;
|
||||
user_options_extra_t *user_options_extra;
|
||||
outfile_ctx_t *outfile_ctx;
|
||||
potfile_ctx_t *potfile_ctx;
|
||||
loopback_ctx_t *loopback_ctx;
|
||||
debugfile_ctx_t *debugfile_ctx;
|
||||
session_ctx_t *session_ctx;
|
||||
|
||||
u32 gpu_temp_disable;
|
||||
u32 gpu_temp_abort;
|
||||
|
||||
@@ -20,4 +20,7 @@ void pw_add (hc_device_param_t *device_param, const u8 *pw_buf, const int pw_len
|
||||
|
||||
u64 count_words (wl_data_t *wl_data, FILE *fd, const char *dictfile, dictstat_ctx_t *dictstat_ctx);
|
||||
|
||||
void wl_data_init (wl_data_t *wl_data, const user_options_t *user_options, const hashconfig_t *hashconfig);
|
||||
void wl_data_destroy (wl_data_t *wl_data);
|
||||
|
||||
#endif // _WORDLIST_H
|
||||
|
||||
Reference in New Issue
Block a user