Move wordlist_mode into user_options_extra

This commit is contained in:
jsteube
2016-09-21 16:25:36 +02:00
parent c008b11de3
commit 4718bb3d2d
5 changed files with 47 additions and 134 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
#ifndef _SESSION_H
#define _SESSION_H
void session_ctx_init (session_ctx_t *session_ctx, char *cwd, char *install_dir, char *profile_dir, char *session_dir, char *shared_dir, char *cpath_real, const u32 wordlist_mode, const u32 kernel_rules_cnt, kernel_rule_t *kernel_rules_buf,const u32 bitmap_size, const u32 bitmap_mask, const u32 bitmap_shift1, const u32 bitmap_shift2, u32 *bitmap_s1_a, u32 *bitmap_s1_b, u32 *bitmap_s1_c, u32 *bitmap_s1_d, u32 *bitmap_s2_a, u32 *bitmap_s2_b, u32 *bitmap_s2_c, u32 *bitmap_s2_d);
void session_ctx_init (session_ctx_t *session_ctx, char *cwd, char *install_dir, char *profile_dir, char *session_dir, char *shared_dir, char *cpath_real, const u32 kernel_rules_cnt, kernel_rule_t *kernel_rules_buf,const u32 bitmap_size, const u32 bitmap_mask, const u32 bitmap_shift1, const u32 bitmap_shift2, u32 *bitmap_s1_a, u32 *bitmap_s1_b, u32 *bitmap_s1_c, u32 *bitmap_s1_d, u32 *bitmap_s2_a, u32 *bitmap_s2_b, u32 *bitmap_s2_c, u32 *bitmap_s2_d);
void session_ctx_destroy (session_ctx_t *session_ctx);
+2 -2
View File
@@ -848,6 +848,8 @@ typedef struct
u32 rule_len_r;
u32 rule_len_l;
u32 wordlist_mode;
int optind;
} user_options_extra_t;
@@ -861,8 +863,6 @@ typedef struct
char *shared_dir;
char *cpath_real;
u32 wordlist_mode;
u32 kernel_rules_cnt;
kernel_rule_t *kernel_rules_buf;