19 lines
233 B
C
19 lines
233 B
C
#ifndef IO_H
|
|
# define IO_H
|
|
|
|
# include <stdio.h>
|
|
# include <stdint.h>
|
|
|
|
typedef struct s_io
|
|
{
|
|
FILE *in;
|
|
FILE *out;
|
|
} t_io;
|
|
|
|
int8_t
|
|
io_open(t_io *io, const char *input_path, const char *output_path);
|
|
|
|
void
|
|
io_close(t_io *io);
|
|
|
|
#endif
|