2016-09-08 12:36:15 +00:00
|
|
|
/**
|
2016-09-11 20:20:15 +00:00
|
|
|
* Author......: See docs/credits.txt
|
2016-09-08 12:36:15 +00:00
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _HLFMT_H
|
|
|
|
#define _HLFMT_H
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2016-09-10 15:35:58 +00:00
|
|
|
#define HLFMTS_CNT 11
|
|
|
|
|
2016-10-04 04:35:49 +00:00
|
|
|
char *strhlfmt (const u32 hashfile_format);
|
2016-09-08 12:36:15 +00:00
|
|
|
|
2016-10-04 04:35:49 +00:00
|
|
|
void hlfmt_hash (u32 hashfile_format, char *line_buf, int line_len, char **hashbuf_pos, int *hashbuf_len, const hashconfig_t *hashconfig, const user_options_t *user_options);
|
|
|
|
void hlfmt_user (u32 hashfile_format, char *line_buf, int line_len, char **userbuf_pos, int *userbuf_len, const hashconfig_t *hashconfig);
|
2016-09-08 12:36:15 +00:00
|
|
|
|
2016-10-04 04:35:49 +00:00
|
|
|
u32 hlfmt_detect (FILE *fp, u32 max_check, const hashconfig_t *hashconfig);
|
2016-09-08 12:36:15 +00:00
|
|
|
|
|
|
|
#endif // _HLFMT_H
|