24 #ifndef GNUCASH_QUERY_H 25 #define GNUCASH_QUERY_H 27 #include <sys/types.h> 48 QUERY_TXN_MATCH_ALL = 1,
49 QUERY_TXN_MATCH_ANY = 2
113 void xaccQueryAddStringMatch (
QofQuery* q,
const char *matchstring,
114 gboolean case_sens, gboolean use_regexp,
116 const char * path, ...);
118 xaccQueryAddDescriptionMatch(
QofQuery *q,
const char *m, gboolean c, gboolean r,
121 xaccQueryAddNotesMatch(
QofQuery *q,
const char *m, gboolean c, gboolean r,
124 xaccQueryAddNumberMatch(
QofQuery *q,
const char *m, gboolean c, gboolean r,
127 xaccQueryAddActionMatch(
QofQuery *q,
const char *m, gboolean c, gboolean r,
130 xaccQueryAddMemoMatch(
QofQuery *q,
const char *m, gboolean c, gboolean r,
144 void xaccQueryAddNumericMatch (
QofQuery *q, gnc_numeric amount,
157 void xaccQueryAddDateMatch(
QofQuery * q, gboolean use_start,
158 int sday,
int smonth,
int syear,
159 gboolean use_end,
int eday,
int emonth,
int eyear,
161 void xaccQueryAddDateMatchTT(
QofQuery * q,
162 gboolean use_start,
time64 stt,
163 gboolean use_end,
time64 ett,
165 void xaccQueryGetDateMatchTT (
QofQuery * q,
173 CLEARED_NONE = 0x0000,
175 CLEARED_CLEARED = 0x0002,
176 CLEARED_RECONCILED = 0x0004,
177 CLEARED_FROZEN = 0x0008,
178 CLEARED_VOIDED = 0x0010,
183 cleared_match_t xaccQueryGetClearedMatch(
QofQuery * q);
GList TransList
GList of Transaction.
GList LotList
GList of GNCLots.
const gchar * QofIdType
QofIdType declaration.
GList SplitList
GList of Split.
Account handling public routines.
QofQueryCompare
Standard Query comparators, for how to compare objects in a predicate.
QofQueryOp
Query Term Operators, for combining Query Terms.
GList AccountList
GList of Account.
GList AccountGUIDList
GList of GUIDs of a Account.
gint64 time64
Most systems that are currently maintained, including Microsoft Windows, BSD-derived Unixes and Linux...
The type used to store guids in C.
QofNumericMatch
Comparisons for QOF_TYPE_NUMERIC, QOF_TYPE_DEBCRED.