101 #ifndef QOF_SESSION_H 102 #define QOF_SESSION_H 109 #define QOF_MOD_SESSION "qof-session" 117 void qof_session_destroy (
QofSession * session);
153 gboolean ignore_lock, gboolean create_if_nonexistent);
201 const gchar *qof_session_get_url (
QofSession * session);
386 #define QOF_STDOUT "file:" void qof_session_call_close_hooks(QofSession *session)
gboolean qof_entity_copy_coll(QofSession *new_session, QofCollection *entity_coll)
Copy a QofCollection of entities.
API for data storage Backend.
gboolean qof_entity_copy_one_r(QofSession *new_session, QofEntity *ent)
Recursively copy a single entity to a new session.
gboolean qof_session_events_pending(QofSession *session)
the Core Object Description Interface
void qof_session_add_book(QofSession *session, QofBook *book)
gboolean qof_session_process_events(QofSession *session)
void qof_session_swap_data(QofSession *session_1, QofSession *session_2)
struct QofCollection_s QofCollection
void(* QofPercentageFunc)(const gchar *message, gdouble percent)
gboolean qof_entity_copy_coll_r(QofSession *new_session, QofCollection *coll)
Recursively copy a collection of entities to a session.
gboolean qof_session_save_may_clobber_data(QofSession *session)
void qof_session_begin(QofSession *session, const gchar *book_id, gboolean ignore_lock, gboolean create_if_nonexistent)
gboolean qof_entity_copy_list(QofSession *new_session, GList *entity_list)
Copy a GList of entities to another session.
const gchar * qof_session_get_file_path(QofSession *session)
gboolean qof_entity_copy_to_session(QofSession *new_session, QofEntity *original)
Copy a single QofEntity to another session.
gboolean qof_session_not_saved(QofSession *session)
Encapsulate all the information about a dataset.
void qof_session_add_close_hook(GFunc fn, gpointer data)
API for registering parameters on objects.
void qof_session_save(QofSession *session, QofPercentageFunc percentage_func)
void qof_session_end(QofSession *session)