#ifndef CHALLENGES_H #define CHALLENGES_H #include #include #include #include #include "errors.h" #define MAX_LEN 100 typedef struct challenge_t { // char (* challenge) (int fd, char * output, char * message, char * question, char * flag); char * message; char * question; char * flag; } challenge_t; // char genChallenge(int fd, char * output, char * message, char * question, char * flag); char genChallenge(int fd, char * output, challenge_t challenge); #endif