removed C99 features
[libfirm] / ir / be / mps.h
1 /**
2  * Author:      Daniel Grund
3  * Date:                02.06.2005
4  * Copyright:   (c) Universitaet Karlsruhe
5  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
6  */
7
8 #ifndef _MPS_H_
9 #define _MPS_H_
10
11 #include <stdio.h>
12 #include "lpp.h"
13
14 /**
15  * Two styles of mps files
16  *
17  * s_mps_fixed: mps where spaces are allowed in identifiers
18  *                              and all things have a fixed column... :-0
19  * s_mps_free:  mps where whitespace is a seperator :-)
20  */
21 typedef enum _style_t {s_mps_fixed, s_mps_free} style_t;
22
23 /**
24  * Writes the description of a lp problem object (lpp)
25  * to the stream out, using the specified style.
26  */
27 void mps_write_mps(lpp_t *lpp, style_t style, FILE *out);
28
29 /**
30  * Writes the start values of a lp problem object (lpp)
31  * to the stream out, using the specified style.
32  */
33 void mps_write_mst(lpp_t *lpp, style_t style, FILE *out);
34
35 #endif /*_MPS_H_*/