read_ini.h 351 Bytes
Newer Older
Iker Martín Álvarez's avatar
Iker Martín Álvarez committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef READ_INI_H
#define READ_INI_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../Main/Main_datatypes.h"

typedef void (*Malloc_conf)(configuration* user_config);
typedef struct {
  Malloc_conf resizes_f, stages_f;
} ext_functions_t;

configuration *read_ini_file(char *file_name, ext_functions_t init_functions);

#endif