Debian Codegraph @

include/mps/private/input-output.h

raw
1 /*
2 * This file is part of MPSolve 3.2.2
3 *
4 * Copyright (C) 2001-2020, Dipartimento di Matematica "L. Tonelli", Pisa.
5 * License: http://www.gnu.org/licenses/gpl.html GPL version 3 or higher
6 *
7 * Authors:
8 * Leonardo Robol <[email protected]>
9 */
10
11 /**
12 * @file
13 * @brief Generic input-output functions inside MPSolve.
14 */
15
16 #ifndef MPS_INPUT_OUTPUT_H_
17 #define MPS_INPUT_OUTPUT_H_
18
19 MPS_BEGIN_DECLS
20
21 void mps_readroots (mps_context * s);
22 void mps_countroots (mps_context * s);
23 void mps_outroot (mps_context * s, int i, int num);
24 void mps_output (mps_context * s);
25 void mps_copy_roots (mps_context * s);
26 void mps_dump_status (mps_context * s, FILE * outstr);
27 void mps_dump (mps_context * s);
28 void mps_dump_cluster_structure (mps_context * s, FILE * outstr);
29 mps_boolean mps_is_a_tty (FILE * stream);
30 void mps_warn (mps_context * st, char *format, ...);
31 void mps_error (mps_context * st, const char * format, ...);
32 void mps_print_errors (mps_context * s);
33
34 void mps_skip_comments (FILE * input_stream);
35 void mps_raise_parsing_error (mps_context * s, mps_input_buffer * buffer,
36 const char * token,
37 const char * message, ...);
38 mps_input_option mps_parse_option_line (mps_context * s, char *line, size_t length);
39
40 mps_polynomial * mps_monomial_poly_read_from_stream_v2 (mps_context * s, mps_input_buffer * buffer);
41
42 mps_polynomial * mps_monomial_yacc_parser (mps_context * ctx, mps_abstract_input_stream * stream);
43
44
45 MPS_END_DECLS
46
47 #endif /* MPS_INPUT_OUTPUT_H_ */
48