gol

Implementation of Conway's Game of Life writen in C
git clone git://git.dimitrijedobrota.com/gol.git
Log | Files | Refs | README

file.h (460B)


      1 /**
      2  * @file file.h
      3  * @author Dimitrije Dobrota
      4  * @date 19 June 2022
      5  * @brief File interface
      6  */
      7 
      8 #ifndef FILE_H
      9 #define FILE_H
     10 
     11 #include "display.h"
     12 
     13 void  file_setup(void);
     14 void load_files(void);
     15 void free_files(void);
     16 int  file_select_extension(char *ext, char ***buffer);
     17 
     18 void file_load_pattern(char *name, int index);
     19 void file_save_pattern(char *name, int index);
     20 void file_load(char *name, int index);
     21 void file_save(char *name, int index);
     22 
     23 #endif