GnuCash
5.6-150-g038405b370+
|
QOF utility functions. More...
#include <stddef.h>
#include "qof.h"
#include "qoflog.h"
#include "qofbackend.h"
#include "qofclass.h"
#include "qofbook.h"
#include "qofinstance.h"
Go to the source code of this file.
Functions | |
void | g_hash_table_foreach_sorted (GHashTable *hash_table, GHFunc func, gpointer user_data, GCompareFunc compare_func) |
Calls the given function for each of the key/value pairs in the GHashTable in an order determined by the GCompareFunc applied to the keys. More... | |
gboolean | qof_utf8_substr_nocase (const gchar *haystack, const gchar *needle) |
Search for an occurrence of the substring needle in the string haystack, ignoring case. More... | |
gint | safe_strcasecmp (const gchar *da, const gchar *db) |
case sensitive comparison of strings da and db - either may be NULL. More... | |
gint | null_strcmp (const gchar *da, const gchar *db) |
The null_strcmp compares strings a and b the same way that strcmp() does, except that either may be null. More... | |
gchar * | ultostr (gulong val, gint base) |
The ultostr() subroutine is the inverse of strtoul(). More... | |
gboolean | gnc_strisnum (const gchar *s) |
Returns true if string s is a number, possibly surrounded by whitespace. More... | |
gboolean | qof_begin_edit (QofInstance *inst) |
begin_edit More... | |
gboolean | qof_commit_edit (QofInstance *inst) |
commit_edit helpers More... | |
gboolean | qof_commit_edit_part2 (QofInstance *inst, void(*on_error)(QofInstance *, QofBackendError), void(*on_done)(QofInstance *), void(*on_free)(QofInstance *)) |
part2 – deal with the backend More... | |
Convenience wrappers | |
void | qof_init (void) |
Initialise the Query Object Framework. More... | |
void | qof_close (void) |
Safely close down the Query Object Framework. More... | |
QOF utility functions.
Definition in file qofutil.h.