1
mirror of https://github.com/hashcat/hashcat synced 2024-12-09 02:13:10 +01:00
hashcat/include/filehandling.h

22 lines
368 B
C
Raw Normal View History

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef _FILEHANDLING_H
#define _FILEHANDLING_H
#include <stdio.h>
#include <string.h>
#include <errno.h>
u64 count_lines (FILE *fd);
2018-02-08 19:13:29 +01:00
size_t fgetl (FILE *fp, char *line_buf);
size_t superchop_with_length (char *buf, const size_t len);
2018-02-08 19:13:29 +01:00
size_t in_superchop (char *buf);
#endif // _FILEHANDLING_H