evo-crypter
 
Loading...
Searching...
No Matches
utils.h
Go to the documentation of this file.
1
6#ifndef EVO_FILE_UTILS_H
7#define EVO_FILE_UTILS_H
8
9#include <setjmp.h> // jmp_buf
10#include <stdbool.h> // bool
11#include <stdio.h> // fopen, stderr, fprintf, fputc, fgetc, fseek, fflush, ftell, fgets, fclose, perror
12#include <stdlib.h> // free, exit
13#include <string.h> // strlen, strncpy, strdup
14
22void reverse_generations(char* generations);
23
30bool file_exists(const char* filename);
31
32#endif // EVO_FILE_UTILS_H
bool file_exists(const char *filename)
Checks if a file exists.
Definition utils.c:13
void reverse_generations(char *generations)
Reverses the order of characters in a string.
Definition utils.c:4