evo-crypter
 
Loading...
Searching...
No Matches
input_processing.h
Go to the documentation of this file.
1
6#ifndef EVO_INPUT_PROCESSING_H
7#define EVO_INPUT_PROCESSING_H
8
9#include <stdbool.h>
10#include <sys/wait.h>
11#include <unistd.h>
12
19typedef struct {
20 char* buffer;
21 const char* generations;
22 bool decrypt;
24
37void process_input_single_thread(const char* input_file,
38 const char* output_file,
39 const char* generations, bool decrypt);
40
54void process_input_multi_thread(const char* input_file, const char* output_file,
55 const char* generations, bool decrypt,
56 int threads);
57
58#endif // EVO_INPUT_PROCESSING_H
void process_input_single_thread(const char *input_file, const char *output_file, const char *generations, bool decrypt)
Processes the input file using a single thread.
Definition input_processing.c:51
void process_input_multi_thread(const char *input_file, const char *output_file, const char *generations, bool decrypt, int threads)
Processes the input file using multiple threads.
Definition input_processing.c:95
Structure to hold arguments for the chunk processing function.
Definition input_processing.h:19
char * buffer
Definition input_processing.h:20
const char * generations
Definition input_processing.h:21
bool decrypt
Definition input_processing.h:22