Module Parser: Renamed struct token_t to hc_token_t to avoid naming conflict with token_t on MacOS
This commit is contained in:
+1
-1
@@ -101,6 +101,6 @@ const char *stroptitype (const u32 opti_type);
|
||||
bool generic_salt_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, const u8 *in_buf, const int in_len, u8 *out_buf, int *out_len);
|
||||
int generic_salt_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, const u8 *in_buf, const int in_len, u8 *out_buf);
|
||||
|
||||
int input_tokenizer (const u8 *input_buf, const int input_len, token_t *token);
|
||||
int input_tokenizer (const u8 *input_buf, const int input_len, hc_token_t *token);
|
||||
|
||||
#endif // _SHARED_H
|
||||
|
||||
+2
-2
@@ -2800,7 +2800,7 @@ typedef struct hook_thread_param
|
||||
#define MAX_TOKENS 128
|
||||
#define MAX_SIGNATURES 16
|
||||
|
||||
typedef struct token
|
||||
typedef struct hc_token
|
||||
{
|
||||
int token_cnt;
|
||||
|
||||
@@ -2820,7 +2820,7 @@ typedef struct token
|
||||
const u8 *opt_buf;
|
||||
int opt_len;
|
||||
|
||||
} token_t;
|
||||
} hc_token_t;
|
||||
|
||||
/**
|
||||
* hash category is relevant in usage.c (--help screen)
|
||||
|
||||
Reference in New Issue
Block a user