lpp: adapt to firm coding conventions, warning fixes, cleanup
[libfirm] / ir / lpp / lpp_solvers.h
1 /**
2  * @file   lpp_solvers.h
3  * @date   16.06.2011
4  * @author Sebastian Hack
5  *
6  * Copyright (C) 2011 Saarland University
7  * Released under the LGPL
8  */
9 #ifndef LPP_SOLVER_H
10 #define LPP_SOLVER_H
11
12 #include "lpp.h"
13
14 typedef void (lpp_solver_func_t)(lpp_t *lpp);
15
16 typedef struct {
17         lpp_solver_func_t *solver;
18         const char        *name;
19         int                n_instances;
20 } lpp_solver_t;
21
22 extern lpp_solver_t lpp_solvers[];
23
24 /**
25  * Find a solver for a given name.
26  */
27 lpp_solver_func_t *lpp_find_solver(const char *name);
28
29 #endif