mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
2001-05-09 Dave Peticolas <dave@krondo.com>
* src/doc/design/engine.texinfo: update docs * src/engine/*.[ch]: add GPL headers git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4141 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2001-05-09 Dave Peticolas <dave@krondo.com>
|
||||
|
||||
* src/doc/design/engine.texinfo: update docs
|
||||
|
||||
* src/engine/*.[ch]: add GPL headers
|
||||
|
||||
2001-05-09 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* src/scm/report/price-scatter.scm: use the configurable report
|
||||
|
@@ -268,12 +268,16 @@ directly. Example:
|
||||
@}
|
||||
@end example
|
||||
|
||||
You can compare two GUIDs for equality with the following function.
|
||||
You can compare two GUIDs with the following functions.
|
||||
|
||||
@deftypefun gboolean guid_equal(const GUID * @var{guid_1}, const GUID * @var{guid_2})
|
||||
Compare two guids and return TRUE if they are both non-NULL and equal.
|
||||
@end deftypefun
|
||||
|
||||
@deftypefun gint guid_compare(const GUID * @var{g1}, const GUID * @var{g2})
|
||||
Return the @code{memcmp} of the two GUID's.
|
||||
@end deftypefun
|
||||
|
||||
|
||||
You can encode and decode GUIDs and their string representations using the
|
||||
next two functions.
|
||||
@@ -286,6 +290,15 @@ always be @code{GUID_ENCODING_LENGTH} characters long. The returned
|
||||
string should be freed when no longer needed.
|
||||
@end deftypefun
|
||||
|
||||
@deftypefun {char *} guid_to_string_buff (const GUID * @var{guid}, char * @var{buff})
|
||||
This routine does the same work as @code{guid_to_string}, except that the
|
||||
string is written into the memory pointed at by @var{buff}. The
|
||||
buffer must be at least GUID_ENCODING_LENGTH+1 characters long.
|
||||
This routine is handy for avoiding a malloc/free cycle.
|
||||
It returns a pointer to the @emph{end} of what was written.
|
||||
(i.e. it can be used like @code{stpcpy} during string concatenation)
|
||||
@end deftypefun
|
||||
|
||||
@deftypefun gboolean string_to_guid(const char * @var{string}, GUID * @var{guid})
|
||||
Given a string, decode an id into @var{guid} if @var{guid} is
|
||||
non-NULL. The function returns TRUE if the string was a valid 32
|
||||
@@ -295,6 +308,34 @@ is undefined.
|
||||
@end deftypefun
|
||||
|
||||
|
||||
You can allocate and deallocate space for GUIDs using standard
|
||||
memory routines. However, if your code is allocating and deallocating
|
||||
lots of GUID objects, then the next two functions should be used.
|
||||
|
||||
@deftypefun {GUID *} xaccGUIDMalloc (void)
|
||||
Return newly allocated memory for a GUID object. The memory must
|
||||
be freed with @code{xaccGUIDFree}. In general, this function is
|
||||
faster than using the standard libc allocators.
|
||||
@end deftypefun
|
||||
|
||||
@deftypefun void xaccGUIDFree (GUID * @var{guid})
|
||||
Free the space for a GUID that was allocated with @code{xaccGUIDMalloc}.
|
||||
@end deftypefun
|
||||
|
||||
|
||||
You can use the following two functions to aid in using GUIDS in hash
|
||||
tables.
|
||||
|
||||
@deftypefun guint guid_hash_to_guint(gconstpointer @var{ptr})
|
||||
Return a hash value suitable for use with a @code{GHashTable}.
|
||||
@var{ptr} must point to a GUID.
|
||||
@end deftypefun
|
||||
|
||||
@deftypefun {GHashTable *} guid_hash_table_new(void)
|
||||
Return a new @code{GHashTable} which uses GUIDs as keys.
|
||||
@end deftypefun
|
||||
|
||||
|
||||
@node GUIDs and GnuCash Entities, The GUID Generator, How to use GUIDs, Globally Unique Identifiers
|
||||
@subsection GUIDs and GnuCash Entities
|
||||
|
||||
|
@@ -1,3 +1,27 @@
|
||||
/********************************************************************\
|
||||
* Account-xml-parser-v1.c -- implementation of xml i/o *
|
||||
* *
|
||||
* Copyright (C) 2001 Rob Browning *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
|
@@ -1,3 +1,27 @@
|
||||
/********************************************************************\
|
||||
* Backend.h -- api for engine Backend *
|
||||
* *
|
||||
* Copyright (c) 2000, 2001 Linas Vepstas <linas@linas.org> *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
/*
|
||||
* FILE:
|
||||
* Backend.h
|
||||
@@ -8,9 +32,6 @@
|
||||
* a file). There are no backend functions that are 'public' to
|
||||
* users of the engine. The backend can, however, report errors to
|
||||
* the GUI & other front-end users. This file defines these errors.
|
||||
*
|
||||
* HISTORY:
|
||||
* Copyright (c) 2000, 2001 Linas Vepstas (linas@linas.org)
|
||||
*/
|
||||
|
||||
#ifndef __XACC_BACKEND_H__
|
||||
|
@@ -1,3 +1,27 @@
|
||||
/********************************************************************\
|
||||
* Backend.h -- private api for engine Backend *
|
||||
* *
|
||||
* Copyright (c) 2000, 2001 Linas Vepstas <linas@linas.org> *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
/*
|
||||
* FILE:
|
||||
* BackendP.h
|
||||
|
@@ -1,3 +1,27 @@
|
||||
/********************************************************************\
|
||||
* Commodity-xml-parser-v1.c -- implementation of xml i/o *
|
||||
* *
|
||||
* Copyright (C) 2001 Rob Browning *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
|
@@ -1,3 +1,22 @@
|
||||
/********************************************************************\
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
\********************************************************************/
|
||||
|
||||
/*
|
||||
* FILE:
|
||||
* Queue.h
|
||||
@@ -42,24 +61,6 @@
|
||||
* created by Linas Vepstas January 1999
|
||||
* Copyright (c) 1999, 2000 Linas Vepstas
|
||||
*/
|
||||
/********************************************************************\
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
\********************************************************************/
|
||||
|
||||
#ifndef __XACC_QUEUE_H__
|
||||
#define __XACC_QUEUE_H__
|
||||
|
@@ -1,3 +1,27 @@
|
||||
/********************************************************************\
|
||||
* gnc-account-xml-v2.c -- account xml i/o implementation *
|
||||
* *
|
||||
* Copyright (C) 2001 James LewisMoss <dres@debian.org> *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
|
@@ -1,3 +1,27 @@
|
||||
/********************************************************************\
|
||||
* gnc-commodity-xml-v2.c -- commodity xml i/o implementation *
|
||||
* *
|
||||
* Copyright (C) 2001 James LewisMoss <dres@debian.org> *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
|
@@ -1,3 +1,27 @@
|
||||
/********************************************************************\
|
||||
* gnc-xml-helper.h -- api for xml helpers *
|
||||
* *
|
||||
* Copyright (C) 2001 James LewisMoss <dres@debian.org> *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#ifndef _GNC_XML_HELPER_H_
|
||||
#define _GNC_XML_HELPER_H_
|
||||
|
||||
|
@@ -1,3 +1,26 @@
|
||||
/********************************************************************\
|
||||
* gnc-xml.h -- api for gnucash xml i/o *
|
||||
* *
|
||||
* Copyright (C) 2001 James LewisMoss <dres@debian.org> *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#ifndef __GNC_XML_H__
|
||||
#define __GNC_XML_H__
|
||||
|
@@ -1,3 +1,27 @@
|
||||
/********************************************************************\
|
||||
* io-example-account.c -- implementation for example accounts *
|
||||
* *
|
||||
* Copyright (C) 2001 James LewisMoss <dres@debian.org> *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
#include <sys/stat.h>
|
||||
|
@@ -1,3 +1,27 @@
|
||||
/********************************************************************\
|
||||
* io-example-account.h -- api for example accounts *
|
||||
* *
|
||||
* Copyright (C) 2001 James LewisMoss <dres@debian.org> *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#ifndef __IO_EXAMPLE_ACCOUNT_H__
|
||||
#define __IO_EXAMPLE_ACCOUNT_H__
|
||||
|
||||
|
@@ -1,3 +1,27 @@
|
||||
/********************************************************************\
|
||||
* gnc-xml-gen.c -- implementation for gnucash xml i/o *
|
||||
* *
|
||||
* Copyright (C) 2001 James LewisMoss <dres@debian.org> *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#include "io-gncxml-gen.h"
|
||||
|
||||
gboolean
|
||||
@@ -13,4 +37,3 @@ gnc_xml_parse_file(sixtp *top_parser, const char *filename,
|
||||
return sixtp_parse_file(top_parser, filename,
|
||||
NULL, &gpdata, &parse_result);
|
||||
}
|
||||
|
||||
|
@@ -1,3 +1,27 @@
|
||||
/********************************************************************\
|
||||
* gnc-xml-gen.h -- api for gnucash xml i/o *
|
||||
* *
|
||||
* Copyright (C) 2001 James LewisMoss <dres@debian.org> *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#ifndef __IO_GNCXML_GEN_H__
|
||||
#define __IO_GNCXML_GEN_H__
|
||||
|
||||
|
@@ -1,11 +1,33 @@
|
||||
/********************************************************************\
|
||||
* io-gncxml-v2.h -- api for gnucash xml i/o *
|
||||
* *
|
||||
* Copyright (c) 2001 Gnumatic Incorporated *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
/*
|
||||
* io-gncxml.h -- api for new XML-based file format
|
||||
*
|
||||
* Initial code by James LewisMoss
|
||||
*
|
||||
* Copyright (c) 2001 Gnumatic Incorporated
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __IO_GNCXML_V2_H__
|
||||
#define __IO_GNCXML_V2_H__
|
||||
|
||||
@@ -57,5 +79,4 @@ gboolean gnc_book_write_to_xml_file_v2(GNCBook *book, const char *filename);
|
||||
gboolean gnc_is_xml_data_file_v2(const gchar *name);
|
||||
|
||||
|
||||
|
||||
#endif /* __IO_GNCXML_V2_H__ */
|
||||
|
@@ -1,12 +1,34 @@
|
||||
/********************************************************************\
|
||||
* io-gncxml.h -- api for gnucash xml i/o *
|
||||
* *
|
||||
* Copyright (c) 2000,2001 Gnumatic Incorporated *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
/*
|
||||
* io-gncxml.h -- api for new XML-based file format
|
||||
*
|
||||
* Initial code by Rob l. Browning 4Q 2000
|
||||
* Tuneups by James LewisMoss Dec 2000
|
||||
*
|
||||
* Copyright (c) 2000,2001 Gnumatic Incorporated
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __IO_GNCXML_H__
|
||||
#define __IO_GNCXML_H__
|
||||
|
||||
|
@@ -1,3 +1,27 @@
|
||||
/********************************************************************\
|
||||
* io-utils.c -- implementation for gnucash file i/o utils *
|
||||
* *
|
||||
* Copyright (C) 2001 James LewisMoss <dres@debian.org> *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <glib.h>
|
||||
@@ -53,4 +77,3 @@ write_accounts(FILE *out, GNCBook *book)
|
||||
{
|
||||
write_account_group(out, gnc_book_get_group(book));
|
||||
}
|
||||
|
||||
|
@@ -1,3 +1,27 @@
|
||||
/********************************************************************\
|
||||
* io-utils.h -- api for gnucash file i/o *
|
||||
* *
|
||||
* Copyright (C) 2001 James LewisMoss <dres@debian.org> *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#ifndef __IO_UTILS_H__
|
||||
#define __IO_UTILS_H__
|
||||
|
||||
|
@@ -1,3 +1,26 @@
|
||||
/********************************************************************\
|
||||
* sixtp-parsers.h -- api for gnucash sixtp parsers *
|
||||
* *
|
||||
* Copyright (C) 2001 James LewisMoss <dres@debian.org> *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, contact: *
|
||||
* *
|
||||
* Free Software Foundation Voice: +1-617-542-5942 *
|
||||
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02111-1307, USA gnu@gnu.org *
|
||||
* *
|
||||
\********************************************************************/
|
||||
|
||||
#ifndef _SIXTP_PARSERS_H_
|
||||
#define _SIXTP_PARSERS_H_
|
||||
|
Reference in New Issue
Block a user