GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
kvp-util-p.h
Go to the documentation of this file.
1 /********************************************************************\
2  * kvp-util-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 [email protected] *
20  * *
21 \********************************************************************/
22 
23 #ifndef XACC_KVP_UTIL_P_H
24 #define XACC_KVP_UTIL_P_H
25 
26 #include "guid.h"
27 #include "kvp_frame.h"
28 
71 #ifdef __cplusplus
72 extern "C"
73 {
74 #endif
75 
76 KvpFrame * gnc_kvp_bag_add (KvpFrame *kvp_root, const char *path, time64 secs,
77  const char *first_name, ...);
78 
79 
84 void gnc_kvp_bag_merge (KvpFrame *kvp_into, const char *intopath,
85  KvpFrame *kvp_from, const char *frompath);
86 
95 KvpFrame * gnc_kvp_bag_find_by_guid (KvpFrame *root, const char * path,
96  const char *guid_name, const GncGUID *desired_guid);
97 
98 
106 void gnc_kvp_bag_remove_frame (KvpFrame *root, const char *path,
107  KvpFrame *fr);
108 
111 #ifdef __cplusplus
112 }
113 #endif
114 
115 #endif /* XACC_KVP_UTIL_P_H */
A key-value frame system.
globally unique ID User API
Definition: guid.h:65
void gnc_kvp_bag_merge(KvpFrame *kvp_into, const char *intopath, KvpFrame *kvp_from, const char *frompath)
KvpFrame * gnc_kvp_bag_find_by_guid(KvpFrame *root, const char *path, const char *guid_name, const GncGUID *desired_guid)
void gnc_kvp_bag_remove_frame(KvpFrame *root, const char *path, KvpFrame *fr)
struct KvpFrameImpl KvpFrame
Definition: kvp_frame.h:76
gint64 time64
Definition: gnc-date.h:83
KvpFrame * gnc_kvp_bag_add(KvpFrame *kvp_root, const char *path, time64 secs, const char *first_name,...)