1
/********************************************************************
2
* gnc-report.h -- C functions for reports. *
4
* Copyright (C) 2001 Linux Developers Group *
5
* Copyright (C) 2006 Chris Shoemaker <c.shoemaker@cox.net> *
7
* This program is free software; you can redistribute it and/or *
8
* modify it under the terms of the GNU General Public License as *
9
* published by the Free Software Foundation; either version 2 of *
10
* the License, or (at your option) any later version. *
12
* This program is distributed in the hope that it will be useful, *
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15
* GNU General Public License for more details. *
17
* You should have received a copy of the GNU General Public License*
18
* along with this program; if not, contact: *
20
* Free Software Foundation Voice: +1-617-542-5942 *
21
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
22
* Boston, MA 02110-1301, USA gnu@gnu.org *
23
********************************************************************/
31
gboolean gnc_run_report (gint report_id, char ** data);
32
gboolean gnc_run_report_id_string (const char * id_string, char **data);
35
* @param report The SCM version of the report.
36
* @return a caller-owned copy of the name of the report, or NULL if report
39
gchar* gnc_report_name( SCM report );
41
/* returns #f if the report id cannot be found */
42
SCM gnc_report_find(gint id);
43
void gnc_report_remove_by_id(gint id);
44
gint gnc_report_add(SCM report);
46
void gnc_reports_flush_global(void);
47
GHashTable *gnc_reports_get_global(void);