165bffeda10154ec7ec019806d071cdae0d97bc4
[pspp-builds.git] / src / ui / terminal / msg-ui.h
1 /* PSPP - computes sample statistics.
2    Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc.
3    Written by Ben Pfaff <blp@gnu.org>.
4
5    This program is free software; you can redistribute it and/or
6    modify it under the terms of the GNU General Public License as
7    published by the Free Software Foundation; either version 2 of the
8    License, or (at your option) any later version.
9
10    This program is distributed in the hope that it will be useful, but
11    WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13    General Public License for more details.
14
15    You should have received a copy of the GNU General Public License
16    along with this program; if not, write to the Free Software
17    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18    02110-1301, USA. */
19
20 #ifndef MSG_UI_H
21 #define MSG_UI_H 1
22
23 #include <stdbool.h>
24
25 struct source_stream ;
26
27 void msg_ui_set_error_file (const char *filename);
28 void msg_ui_init (struct source_stream *);
29 void msg_ui_done (void);
30 void check_msg_count (struct source_stream *);
31 void reset_msg_count (void);
32 bool any_errors (void);
33
34 #endif /* msg-ui.h */