aboutsummaryrefslogtreecommitdiff
path: root/include/msvmmaj_init.h
blob: 281214c7315c6e93d83d1c25d40d2d2ffc957a75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
 * @file msvmmaj_init.h
 * @author Gertjan van den Burg
 * @date January, 2014
 * @brief Header file for msvmmaj_init.c
 *
 * @details
 * Contains function declarations for the initialization functions for
 * MajModel and MajData structures.
 */

#ifndef MSVMMAJ_INIT_H
#define MSVMMAJ_INIT_H

// forward declaration
struct MajData;
struct MajModel;

struct MajModel *msvmmaj_init_model();

struct MajData *msvmmaj_init_data();

void msvmmaj_allocate_model(struct MajModel *model);
void msvmmaj_reallocate_model(struct MajModel *model, long n, long m);
void msvmmaj_free_model(struct MajModel *model);
void msvmmaj_free_data(struct MajData *data);

#endif