Added progress_mode to status.c
This commit is contained in:
@@ -43,8 +43,11 @@ char *status_get_time_estimated_relative (const hashcat_ctx_t *hashcat_ctx)
|
||||
u64 status_get_restore_point (const hashcat_ctx_t *hashcat_ctx);
|
||||
u64 status_get_restore_total (const hashcat_ctx_t *hashcat_ctx);
|
||||
double status_get_restore_percent (const hashcat_ctx_t *hashcat_ctx);
|
||||
int status_get_progress_mode (const hashcat_ctx_t *hashcat_ctx);
|
||||
double status_get_progress_finished_percent (const hashcat_ctx_t *hashcat_ctx);
|
||||
u64 status_get_progress_done (const hashcat_ctx_t *hashcat_ctx);
|
||||
u64 status_get_progress_rejected (const hashcat_ctx_t *hashcat_ctx);
|
||||
double status_get_progress_rejected_percent (const hashcat_ctx_t *hashcat_ctx);
|
||||
u64 status_get_progress_restored (const hashcat_ctx_t *hashcat_ctx);
|
||||
u64 status_get_progress_cur (const hashcat_ctx_t *hashcat_ctx);
|
||||
u64 status_get_progress_end (const hashcat_ctx_t *hashcat_ctx);
|
||||
|
||||
@@ -1472,6 +1472,14 @@ typedef enum input_mode
|
||||
|
||||
} input_mode_t;
|
||||
|
||||
typedef enum progress_mode
|
||||
{
|
||||
PROGRESS_MODE_NONE = 0,
|
||||
PROGRESS_MODE_KEYSPACE_KNOWN = 1,
|
||||
PROGRESS_MODE_KEYSPACE_UNKNOWN = 2,
|
||||
|
||||
} progress_mode_t;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
bool skipped_dev;
|
||||
@@ -1504,6 +1512,8 @@ typedef struct
|
||||
int salts_cnt;
|
||||
int salts_done;
|
||||
double salts_percent;
|
||||
int progress_mode;
|
||||
double progress_finished_percent;
|
||||
u64 progress_cur;
|
||||
u64 progress_cur_relative_skip;
|
||||
u64 progress_done;
|
||||
@@ -1511,6 +1521,7 @@ typedef struct
|
||||
u64 progress_end_relative_skip;
|
||||
u64 progress_ignore;
|
||||
u64 progress_rejected;
|
||||
double progress_rejected_percent;
|
||||
u64 progress_restored;
|
||||
u64 progress_skip;
|
||||
u64 restore_point;
|
||||
|
||||
Reference in New Issue
Block a user