26 #include "gnc-session.h"
34 gnc_get_current_session (
void)
39 current_session = qof_session_new ();
43 return current_session;
47 gnc_current_session_exist(
void)
49 return (current_session != NULL);
56 PINFO(
"Leak of current session.");
57 current_session = session;
60 void gnc_clear_current_session()
65 qof_session_destroy(current_session);
67 current_session = NULL;
#define PINFO(format, args...)
void xaccLogDisable(void)
All type declarations for the whole Gnucash engine.
API for the transaction logger.
void qof_event_suspend(void)
Suspend all engine events.
void qof_event_resume(void)
const gchar * QofLogModule