QOF  0.7.5
qofquery-deserial.h
1 /********************************************************************\
2  * qofquery-deserial.h -- Convert Qof-Query XML to QofQuery *
3  * Copyright (C) 2004 Linas Vepstas <linas@linas.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 *
8  * the License, or (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU 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, contact: *
17  * *
18  * Free Software Foundation Voice: +1-617-542-5942 *
19  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
20  * Boston, MA 02110-1301, USA gnu@gnu.org *
21  * *
22 \********************************************************************/
23 /*
24  qofquery-deserial.h
25  Convert Qof-Query XML to QofQuery
26 author Copyright (C) 2004 Linas Vepstas <linas@linas.org>
27 */
28 
29 #ifndef QOF_QUERY_DESERIAL_H
30 #define QOF_QUERY_DESERIAL_H
31 
32 #include "qofquery.h"
33 #include <libxml/tree.h>
34 
35 /*
36  Qof Queries can be converted to and from XML so that they
37  can be sent from here to there. This file implements the
38  routine needed to convert the XML back into a C struct.
39 
40  Unfinished. XXX Why is this easier than reading a text/sql
41  file?
42 
43 NOTE: Development of this idea has ceased and this file is
44 no longer included in the QOF library. It remains in CVS for now.
45 
46  */
47 /* Given an XML tree, reconstruct and return the equivalent query. */
48 QofQuery *qof_query_from_xml (xmlNodePtr);
49 
50 #endif /* QOF_QUERY_DESERIAL_H */