QOF  0.7.5
kvputil-p.h
Go to the documentation of this file.
1 /********************************************************************\
2  * kvputil-p.h -- misc odd-job kvp utils (private file) *
3  * *
4  * This program is free software; you can redistribute it and/or *
5  * modify it under the terms of the GNU General Public License as *
6  * published by the Free Software Foundation; either version 2 of *
7  * the License, or (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, contact: *
16  * *
17  * Free Software Foundation Voice: +1-617-542-5942 *
18  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
19  * Boston, MA 02110-1301, USA gnu@gnu.org *
20  * *
21 \********************************************************************/
22 
23 #ifndef KVPUTIL_P_H
24 #define KVPUTIL_P_H
25 
26 #include "guid.h"
27 #include "kvpframe.h"
28 
73 KvpFrame *
74 qof_kvp_bag_add (KvpFrame * kvp_root, const gchar *path,
75  QofTime *qt, const gchar *first_name, ...);
76 
82 void
83 qof_kvp_bag_merge (KvpFrame * kvp_into, const gchar *intopath,
84  KvpFrame * kvp_from, const gchar *frompath);
85 
95 KvpFrame *
96 qof_kvp_bag_find_by_guid (KvpFrame * root, const gchar *path,
97  const gchar *guid_name,
98  GUID * desired_guid);
99 
107 void
108 qof_kvp_bag_remove_frame (KvpFrame * root, const gchar *path,
109  KvpFrame * fr);
110 
114 #endif /* KVPUTIL_P_H */