File: qofsession_8h.html

package info (click to toggle)
qof 0.5.0-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,376 kB
  • ctags: 2,995
  • sloc: ansic: 14,210; sh: 7,273; makefile: 204; yacc: 184; lex: 123
file content (90 lines) | stat: -rw-r--r-- 8,554 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>QOF: qofsession.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.6-20040222 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>qofsession.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Encapsulates a connection to a backend (persistent store). 
<p>
<dl compact><dt><b>Author:</b></dt><dd>Copyright (c) 1998, 1999, 2001, 2002 Linas Vepstas &lt;<a href="mailto:linas@linas.org">linas@linas.org</a>&gt; <p>
Copyright (c) 2000 Dave Peticolas</dd></dl>

<p>
<code>#include "<a class="el" href="qofbackend_8h.html">qofbackend.h</a>"</code><br>
<code>#include "<a class="el" href="qofbook_8h.html">qofbook.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Session Errors</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__Backend.html#ga28">QofBackendError</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga12">qof_session_get_error</a> (QofSession *session)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga13" doxytag="qofsession.h::qof_session_get_error_message" ></a>
const char *&nbsp;</td><td class="memItemRight" valign=bottom><b>qof_session_get_error_message</b> (QofSession *session)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__Backend.html#ga28">QofBackendError</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga14">qof_session_pop_error</a> (QofSession *session)</td></tr>

<tr><td colspan=2><br><h2>Event Handling</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>gboolean&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga23">qof_session_events_pending</a> (QofSession *session)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>gboolean&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga24">qof_session_process_events</a> (QofSession *session)</td></tr>

<tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga2" doxytag="qofsession.h::QofSession" ></a>
typedef _QofSession&nbsp;</td><td class="memItemRight" valign=bottom><b>QofSession</b></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>typedef void(*&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga3">QofPercentageFunc</a> )(const char *message, double percent)</td></tr>

<tr><td colspan=2><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga4" doxytag="qofsession.h::qof_session_new" ></a>
QofSession *&nbsp;</td><td class="memItemRight" valign=bottom><b>qof_session_new</b> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga5" doxytag="qofsession.h::qof_session_destroy" ></a>
void&nbsp;</td><td class="memItemRight" valign=bottom><b>qof_session_destroy</b> (QofSession *session)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga6" doxytag="qofsession.h::qof_session_get_current_session" ></a>
QofSession *&nbsp;</td><td class="memItemRight" valign=bottom><b>qof_session_get_current_session</b> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga7" doxytag="qofsession.h::qof_session_set_current_session" ></a>
void&nbsp;</td><td class="memItemRight" valign=bottom><b>qof_session_set_current_session</b> (QofSession *session)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga8">qof_session_swap_data</a> (QofSession *session_1, QofSession *session_2)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga9">qof_session_begin</a> (QofSession *session, const char *book_id, gboolean ignore_lock, gboolean create_if_nonexistent)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga10" doxytag="qofsession.h::qof_session_load" ></a>
void&nbsp;</td><td class="memItemRight" valign=bottom><b>qof_session_load</b> (QofSession *session, <a class="el" href="group__Backend.html#ga3">QofPercentageFunc</a> percentage_func)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>gboolean&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga11">qof_session_export</a> (QofSession *tmp_session, QofSession *real_session, <a class="el" href="group__Backend.html#ga3">QofPercentageFunc</a> percentage_func)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga15">qof_session_add_book</a> (QofSession *session, <a class="el" href="struct__QofBook.html">QofBook</a> *book)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga16" doxytag="qofsession.h::qof_session_get_book" ></a>
<a class="el" href="struct__QofBook.html">QofBook</a> *&nbsp;</td><td class="memItemRight" valign=bottom><b>qof_session_get_book</b> (QofSession *session)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>const char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga17">qof_session_get_file_path</a> (QofSession *session)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga18" doxytag="qofsession.h::qof_session_get_url" ></a>
const char *&nbsp;</td><td class="memItemRight" valign=bottom><b>qof_session_get_url</b> (QofSession *session)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>gboolean&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga19">qof_session_not_saved</a> (QofSession *session)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>gboolean&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga20">qof_session_save_may_clobber_data</a> (QofSession *session)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga21">qof_session_save</a> (QofSession *session, <a class="el" href="group__Backend.html#ga3">QofPercentageFunc</a> percentage_func)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga22">qof_session_end</a> (QofSession *session)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga25">xaccResolveFilePath</a> (const char *filefrag)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga26" doxytag="qofsession.h::xaccResolveURL" ></a>
char *&nbsp;</td><td class="memItemRight" valign=bottom><b>xaccResolveURL</b> (const char *pathfrag)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__Backend.html#ga27">gnc_run_rpc_server</a> (void)</td></tr>

</table>
<hr size="1"><address style="align: right;"><small>Generated on Sun May 23 15:41:46 2004 for QOF by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.6-20040222 </small></address>
</body>
</html>