bearch: Disallow passing Projs to get_irn_ops().
[libfirm] / ir / lpp / mps.h
1 /*
2  * This file is part of libFirm.
3  * Copyright (C) 2012 Universitaet Karlsruhe
4  */
5
6 /**
7  * @file
8  * @author Daniel Grund
9  */
10 #ifndef MPS_H
11 #define MPS_H
12
13 #include <stdio.h>
14 #include "lpp.h"
15
16 /**
17  * Two styles of mps files
18  *
19  * s_mps_fixed: mps where spaces are allowed in identifiers
20  *              and all things have a fixed column... :-0
21  * s_mps_free:  mps where whitespace is a seperator :-)
22  */
23 typedef enum {s_mps_fixed, s_mps_free} lpp_mps_style_t;
24
25 /**
26  * Writes the description of a lp problem object (lpp)
27  * to the stream out, using the specified style.
28  */
29 void mps_write_mps(lpp_t *lpp, lpp_mps_style_t style, FILE *out);
30
31 /**
32  * Writes the start values of a lp problem object (lpp)
33  * to the stream out, using the specified style.
34  */
35 void mps_write_mst(lpp_t *lpp, lpp_mps_style_t style, FILE *out);
36
37 #endif