lpp: adapt to firm coding conventions, warning fixes, cleanup
[libfirm] / ir / lpp / 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 #ifndef MPS_H
8 #define MPS_H
9
10 #include <stdio.h>
11 #include "lpp.h"
12
13 /**
14  * Two styles of mps files
15  *
16  * s_mps_fixed: mps where spaces are allowed in identifiers
17  *              and all things have a fixed column... :-0
18  * s_mps_free:  mps where whitespace is a seperator :-)
19  */
20 typedef enum _style_t {s_mps_fixed, s_mps_free} style_t;
21
22 /**
23  * Writes the description of a lp problem object (lpp)
24  * to the stream out, using the specified style.
25  */
26 void mps_write_mps(lpp_t *lpp, style_t style, FILE *out);
27
28 /**
29  * Writes the start values of a lp problem object (lpp)
30  * to the stream out, using the specified style.
31  */
32 void mps_write_mst(lpp_t *lpp, style_t style, FILE *out);
33
34 #endif