24 #ifndef GNUCASH_QUERY_H
25 #define GNUCASH_QUERY_H
27 #include <sys/types.h>
44 QUERY_TXN_MATCH_ALL = 1,
45 QUERY_TXN_MATCH_ANY = 2
109 void xaccQueryAddStringMatch (
QofQuery* q,
const char *matchstring,
110 gboolean case_sens, gboolean use_regexp,
112 const char * path, ...);
114 xaccQueryAddDescriptionMatch(
QofQuery *q,
const char *m, gboolean c, gboolean r,
117 xaccQueryAddNotesMatch(
QofQuery *q,
const char *m, gboolean c, gboolean r,
120 xaccQueryAddNumberMatch(
QofQuery *q,
const char *m, gboolean c, gboolean r,
123 xaccQueryAddActionMatch(
QofQuery *q,
const char *m, gboolean c, gboolean r,
126 xaccQueryAddMemoMatch(
QofQuery *q,
const char *m, gboolean c, gboolean r,
153 void xaccQueryAddDateMatch(
QofQuery * q, gboolean use_start,
154 int sday,
int smonth,
int syear,
155 gboolean use_end,
int eday,
int emonth,
int eyear,
157 void xaccQueryAddDateMatchTS(
QofQuery * q,
161 void xaccQueryAddDateMatchTT(
QofQuery * q,
162 gboolean use_start,
time64 stt,
163 gboolean use_end,
time64 ett,
165 void xaccQueryGetDateMatchTS (
QofQuery * q,
168 void xaccQueryGetDateMatchTT (
QofQuery * q,
176 CLEARED_NONE = 0x0000,
178 CLEARED_CLEARED = 0x0002,
179 CLEARED_RECONCILED = 0x0004,
180 CLEARED_FROZEN = 0x0008,
181 CLEARED_VOIDED = 0x0010,
Use a 64-bit unsigned int timespec.
struct _QofQuery QofQuery
Account handling public routines.
struct KvpValueImpl KvpValue