read_ini.h 566 Bytes
Newer Older
1
2
3
#ifndef READ_INI_H
#define READ_INI_H

4
5
6
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
iker_martin's avatar
iker_martin committed
7
#include <mpi.h>
8
#include "../Main/Main_datatypes.h"
9

10
11
configuration *read_ini_file(char *file_name);
void free_config(configuration *user_config);
12
13
void print_config(configuration *user_config, int grp);
void print_config_group(configuration *user_config, int grp);
iker_martin's avatar
iker_martin committed
14

15
// MPI Intercomm functions
iker_martin's avatar
iker_martin committed
16
void send_config_file(configuration *config_file, int root, MPI_Comm intercomm);
17
void recv_config_file(int root, MPI_Comm intercomm, configuration **config_file_out);
18
19

#endif