update all HCFILE vars and related code
This commit is contained in:
@@ -10,7 +10,7 @@ typedef struct extra_info_straight
|
||||
{
|
||||
u64 pos;
|
||||
|
||||
HCFILE *fp;
|
||||
HCFILE fp;
|
||||
|
||||
u64 rule_pos_prev;
|
||||
u64 rule_pos;
|
||||
|
||||
@@ -1161,12 +1161,12 @@ typedef struct hc_device_param
|
||||
u32 *brain_link_out_buf;
|
||||
#endif
|
||||
|
||||
char *scratch_buf;
|
||||
char *scratch_buf;
|
||||
|
||||
HCFILE combs_fp;
|
||||
pw_t *combs_buf;
|
||||
HCFILE combs_fp;
|
||||
pw_t *combs_buf;
|
||||
|
||||
void *hooks_buf;
|
||||
void *hooks_buf;
|
||||
|
||||
pw_idx_t *pws_idx;
|
||||
u32 *pws_comp;
|
||||
@@ -1555,11 +1555,12 @@ typedef aes_context_t aes_ctx;
|
||||
|
||||
typedef struct debugfile_ctx
|
||||
{
|
||||
bool enabled;
|
||||
HCFILE fp;
|
||||
|
||||
HCFILE *fp;
|
||||
char *filename;
|
||||
u32 mode;
|
||||
bool enabled;
|
||||
|
||||
char *filename;
|
||||
u32 mode;
|
||||
|
||||
} debugfile_ctx_t;
|
||||
|
||||
@@ -1600,11 +1601,12 @@ typedef struct dictstat_ctx
|
||||
|
||||
typedef struct loopback_ctx
|
||||
{
|
||||
bool enabled;
|
||||
bool unused;
|
||||
HCFILE fp;
|
||||
|
||||
HCFILE *fp;
|
||||
char *filename;
|
||||
bool enabled;
|
||||
bool unused;
|
||||
|
||||
char *filename;
|
||||
|
||||
} loopback_ctx_t;
|
||||
|
||||
@@ -1617,12 +1619,12 @@ typedef struct mf
|
||||
|
||||
typedef struct outfile_ctx
|
||||
{
|
||||
char *filename;
|
||||
HCFILE fp;
|
||||
|
||||
HCFILE *fp;
|
||||
u32 outfile_format;
|
||||
bool outfile_autohex;
|
||||
|
||||
u32 outfile_format;
|
||||
bool outfile_autohex;
|
||||
char *filename;
|
||||
|
||||
} outfile_ctx_t;
|
||||
|
||||
@@ -1637,9 +1639,10 @@ typedef struct pot
|
||||
|
||||
typedef struct potfile_ctx
|
||||
{
|
||||
HCFILE fp;
|
||||
|
||||
bool enabled;
|
||||
|
||||
HCFILE fp;
|
||||
char *filename;
|
||||
|
||||
u8 *out_buf; // allocates [HCBUFSIZ_LARGE];
|
||||
@@ -1721,10 +1724,10 @@ typedef struct pidfile_ctx
|
||||
|
||||
typedef struct out
|
||||
{
|
||||
HCFILE *fp;
|
||||
HCFILE fp;
|
||||
|
||||
char buf[HCBUFSIZ_SMALL];
|
||||
int len;
|
||||
char buf[HCBUFSIZ_SMALL];
|
||||
int len;
|
||||
|
||||
} out_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user