remove original commented code
This commit is contained in:
@@ -10,10 +10,8 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
//u64 count_lines (FILE *fd);
|
||||
u64 count_lines (fp_tmp_t *fp_t);
|
||||
|
||||
//size_t fgetl (FILE *fp, char *line_buf);
|
||||
size_t fgetl (fp_tmp_t *fp_t, char *line_buf);
|
||||
|
||||
size_t superchop_with_length (char *buf, const size_t len);
|
||||
|
||||
@@ -15,7 +15,6 @@ const char *strhlfmt (const u32 hashfile_format);
|
||||
void hlfmt_hash (hashcat_ctx_t *hashcat_ctx, u32 hashfile_format, char *line_buf, const int line_len, char **hashbuf_pos, int *hashbuf_len);
|
||||
void hlfmt_user (hashcat_ctx_t *hashcat_ctx, u32 hashfile_format, char *line_buf, const int line_len, char **userbuf_pos, int *userbuf_len);
|
||||
|
||||
//u32 hlfmt_detect (hashcat_ctx_t *hashcat_ctx, FILE *fp, u32 max_check);
|
||||
u32 hlfmt_detect (hashcat_ctx_t *hashcat_ctx, fp_tmp_t *fp_t, u32 max_check);
|
||||
|
||||
#endif // _HLFMT_H
|
||||
|
||||
@@ -62,8 +62,6 @@ bool hc_string_is_digit (const char *s);
|
||||
void hc_string_trim_trailing (char *s);
|
||||
void hc_string_trim_leading (char *s);
|
||||
|
||||
//size_t hc_fread (void *ptr, size_t size, size_t nmemb, FILE *stream);
|
||||
//size_t hc_fwrite (const void *ptr, size_t size, size_t nmemb, FILE *stream);
|
||||
bool hc_fopen(fp_tmp_t *fp_t, const char *path, char *mode);
|
||||
size_t hc_fread (void *ptr, size_t size, size_t nmemb, fp_tmp_t *fp_t);
|
||||
size_t hc_fread_direct (void *ptr, size_t size, size_t nmemb, FILE *stream);
|
||||
|
||||
@@ -10,7 +10,6 @@ typedef struct extra_info_straight
|
||||
{
|
||||
u64 pos;
|
||||
|
||||
// FILE *fp;
|
||||
fp_tmp_t *fp_t;
|
||||
|
||||
u64 rule_pos_prev;
|
||||
@@ -28,8 +27,6 @@ typedef struct extra_info_combi
|
||||
{
|
||||
u64 pos;
|
||||
|
||||
// FILE *base_fp;
|
||||
// FILE *combs_fp;
|
||||
fp_tmp_t *base_fp_t;
|
||||
fp_tmp_t *combs_fp_t;
|
||||
|
||||
|
||||
@@ -1165,7 +1165,6 @@ typedef struct hc_device_param
|
||||
|
||||
char *scratch_buf;
|
||||
|
||||
// FILE *combs_fp;
|
||||
fp_tmp_t *combs_fp_t;
|
||||
pw_t *combs_buf;
|
||||
|
||||
|
||||
@@ -19,9 +19,6 @@ void get_next_word_lm (char *buf, u64 sz, u64 *len, u64 *off);
|
||||
void get_next_word_uc (char *buf, u64 sz, u64 *len, u64 *off);
|
||||
void get_next_word_std (char *buf, u64 sz, u64 *len, u64 *off);
|
||||
|
||||
//void get_next_word (hashcat_ctx_t *hashcat_ctx, FILE *fd, char **out_buf, u32 *out_len);
|
||||
//int load_segment (hashcat_ctx_t *hashcat_ctx, FILE *fd);
|
||||
//int count_words (hashcat_ctx_t *hashcat_ctx, FILE *fd, const char *dictfile, u64 *result);
|
||||
void get_next_word (hashcat_ctx_t *hashcat_ctx, fp_tmp_t *fp_t, char **out_buf, u32 *out_len);
|
||||
int load_segment (hashcat_ctx_t *hashcat_ctx, fp_tmp_t *fp_t);
|
||||
int count_words (hashcat_ctx_t *hashcat_ctx, fp_tmp_t *fp_t, const char *dictfile, u64 *result);
|
||||
|
||||
Reference in New Issue
Block a user