1
mirror of https://github.com/hashcat/hashcat synced 2024-11-28 05:21:38 +01:00
hashcat/include/dispatch.h

29 lines
504 B
C
Raw Normal View History

2016-09-15 04:29:22 +02:00
/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef HC_DISPATCH_H
#define HC_DISPATCH_H
2016-09-15 04:29:22 +02:00
2018-10-28 16:47:13 +01:00
#ifdef WITH_BRAIN
#if defined (_WIN)
#include <winsock2.h>
2018-10-28 16:47:13 +01:00
#define SEND_FLAGS 0
#endif
#if defined (__linux__)
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#define SEND_FLAGS MSG_NOSIGNAL
#endif
#endif
HC_API_CALL void *thread_calc_stdin (void *p);
HC_API_CALL void *thread_calc (void *p);
2016-09-15 04:29:22 +02:00
#endif // HC_DISPATCH_H