QOF  0.8.7
qofquery-serialize.h
1 /********************************************************************\
2  * qofquery-serialize.h -- Convert QofQuery to XML *
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 /* qofquery-serialize.h
24  Convert QofQuery to XML
25  Copyright (C) 2001,2002,2004 Linas Vepstas <linas@linas.org>
26  */
27 
28 /* NOTE: Development of this idea has ceased and this file is
29 no longer included in the QOF library. It remains in CVS for now.*/
30 
31 #ifndef QOF_QUERY_SERIALIZE_H
32 #define QOF_QUERY_SERIALIZE_H
33 
34 #include "qofquery.h"
35 #include <libxml/tree.h>
36 
37 /* XML Serialize Queries to/from XML */
38 
39 /* Take the query passed as input, and serialize it into XML.
40  * The DTD used will be a very qofquery specific DTD
41  * This is NOT the XQuery XML.
42  */
43 xmlNodePtr qof_query_to_xml (QofQuery * q);
44 
45 #endif /* QOF_QUERY_SERIALIZE_H */
struct _QofQuery QofQuery
Definition: qofquery.h:85
find objects that match a certain expression.