1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 16:38:29 +00:00
hashcat/include/stdout.h

37 lines
538 B
C
Raw Normal View History

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef _STDOUT_H
#define _STDOUT_H
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <search.h>
#include <getopt.h>
#include <inttypes.h>
#include <signal.h>
#if defined (_POSIX)
#include <pthread.h>
#include <pwd.h>
#endif // _POSIX
#define STDOUT_FLAG 0
typedef struct
{
FILE *fp;
char buf[BUFSIZ];
int len;
} out_t;
void process_stdout (hc_device_param_t *device_param, const uint pws_cnt);
#endif // _STDOUT_H