2016-09-08 14:36:15 +02:00
|
|
|
/**
|
|
|
|
* Author......: Jens Steube <jens.steube@gmail.com>
|
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _HLFMT_H
|
|
|
|
#define _HLFMT_H
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
char *strhlfmt (const uint hashfile_format);
|
|
|
|
|
2016-09-09 16:54:48 +02:00
|
|
|
void hlfmt_hash (uint hashfile_format, char *line_buf, int line_len, char **hashbuf_pos, int *hashbuf_len, hashconfig_t *hashconfig);
|
|
|
|
void hlfmt_user (uint hashfile_format, char *line_buf, int line_len, char **userbuf_pos, int *userbuf_len, hashconfig_t *hashconfig);
|
2016-09-08 14:36:15 +02:00
|
|
|
|
2016-09-09 16:54:48 +02:00
|
|
|
uint hlfmt_detect (FILE *fp, uint max_check, hashconfig_t *hashconfig);
|
2016-09-08 14:36:15 +02:00
|
|
|
|
|
|
|
#endif // _HLFMT_H
|