output: Make errors, warnings, and notes into a new "message_item".
[pspp-builds.git] / src / output / journal.h
1 /* PSPP - a program for statistical analysis.
2    Copyright (C) 2007 Free Software Foundation, Inc.
3
4    This program is free software: you can redistribute it and/or modify
5    it under the terms of the GNU General Public License as published by
6    the Free Software Foundation, either version 3 of the License, or
7    (at your option) any later version.
8
9    This program is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12    GNU General Public License for more details.
13
14    You should have received a copy of the GNU General Public License
15    along with this program.  If not, see <http://www.gnu.org/licenses/>. */
16
17 /* Journal for commands and errors.
18
19    The journal file records the commands entered interactively
20    during a PSPP session.  It also records, prefixed by "> ",
21    commands from files included with interactive commands and
22    errors. */
23
24 #ifndef OUTPUT_JOURNAL_H
25 #define OUTPUT_JOURNAL_H 1
26
27 #include <stdbool.h>
28
29 void journal_enable (void);
30 void journal_disable (void);
31 void journal_set_file_name (const char *);
32
33 #endif /* output/journal.h */