This file is indexed.

/usr/share/gtk-doc/html/libgda-4.0/GdaTransactionStatus.html is in libgda-4.0-doc 4.2.8-2build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GdaTransactionStatus</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GNOME Data Access 4 manual">
<link rel="up" href="connection.html" title="Connections &amp; commands">
<link rel="prev" href="GdaConnectionEvent.html" title="GdaConnectionEvent">
<link rel="next" href="libgda-4.0-GdaXaTransaction.html" title="GdaXaTransaction">
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GdaConnectionEvent.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="connection.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GNOME Data Access 4 manual</th>
<td><a accesskey="n" href="libgda-4.0-GdaXaTransaction.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GdaTransactionStatus.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GdaTransactionStatus.description" class="shortcut">Description</a>
                   | 
                  <a href="#GdaTransactionStatus.object-hierarchy" class="shortcut">Object Hierarchy</a>
</td></tr>
</table>
<div class="refentry">
<a name="GdaTransactionStatus"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GdaTransactionStatus.top_of_page"></a>GdaTransactionStatus</span></h2>
<p>GdaTransactionStatus — Keeps track of the transaction status of a connection</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GdaTransactionStatus.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct              <a class="link" href="GdaTransactionStatus.html#GdaTransactionStatus-struct" title="struct GdaTransactionStatus">GdaTransactionStatus</a>;
enum                <a class="link" href="GdaTransactionStatus.html#GdaTransactionIsolation" title="enum GdaTransactionIsolation">GdaTransactionIsolation</a>;
struct              <a class="link" href="GdaTransactionStatus.html#GdaTransactionStatusEvent" title="struct GdaTransactionStatusEvent">GdaTransactionStatusEvent</a>;
enum                <a class="link" href="GdaTransactionStatus.html#GdaTransactionStatusEventType" title="enum GdaTransactionStatusEventType">GdaTransactionStatusEventType</a>;
enum                <a class="link" href="GdaTransactionStatus.html#GdaTransactionStatusState" title="enum GdaTransactionStatusState">GdaTransactionStatusState</a>;
</pre>
</div>
<div class="refsect1">
<a name="GdaTransactionStatus.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----GdaTransactionStatus
</pre>
</div>
<div class="refsect1">
<a name="GdaTransactionStatus.description"></a><h2>Description</h2>
<p>
  On any connection (as a <a class="link" href="GdaConnection.html" title="GdaConnection"><span class="type">GdaConnection</span></a> object), if the database provider used by the connection
  supports it, transactions may be started, committed or rolledback, or savepoints added, removed or rolledback.
  These operations can be performed using Libgda's API (such as <a class="link" href="GdaConnection.html#gda-connection-begin-transaction" title="gda_connection_begin_transaction ()"><code class="function">gda_connection_begin_transaction()</code></a>), or directly
  using some SQL on the connection (usually a "BEGIN;" command). The <a class="link" href="GdaTransactionStatus.html" title="GdaTransactionStatus"><span class="type">GdaTransactionStatus</span></a>'s aim is to
  make it easy to keep track of all the commands which have been issued on a connection regarding transactions.
</p>
<p>
  One <a class="link" href="GdaTransactionStatus.html" title="GdaTransactionStatus"><span class="type">GdaTransactionStatus</span></a> object is automatically attached to a <a class="link" href="GdaConnection.html" title="GdaConnection"><span class="type">GdaConnection</span></a> when a transaction is started, and
  is destroyed when the transaction is finished. A pointer to this object can be fetched using
  <a class="link" href="GdaConnection.html#gda-connection-get-transaction-status" title="gda_connection_get_transaction_status ()"><code class="function">gda_connection_get_transaction_status()</code></a> (beware that it should then not be modified). The end user is not
  supposed to instantiate <a class="link" href="GdaTransactionStatus.html" title="GdaTransactionStatus"><span class="type">GdaTransactionStatus</span></a> objects
</p>
<p>
  <a class="link" href="GdaTransactionStatus.html" title="GdaTransactionStatus"><span class="type">GdaTransactionStatus</span></a>'s attributes are directly accessible using the public members of the object.
</p>
</div>
<div class="refsect1">
<a name="GdaTransactionStatus.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GdaTransactionStatus-struct"></a><h3>struct GdaTransactionStatus</h3>
<pre class="programlisting">struct GdaTransactionStatus;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaTransactionIsolation"></a><h3>enum GdaTransactionIsolation</h3>
<pre class="programlisting">typedef enum {
	GDA_TRANSACTION_ISOLATION_UNKNOWN,
	GDA_TRANSACTION_ISOLATION_READ_COMMITTED,
	GDA_TRANSACTION_ISOLATION_READ_UNCOMMITTED,
	GDA_TRANSACTION_ISOLATION_REPEATABLE_READ,
	GDA_TRANSACTION_ISOLATION_SERIALIZABLE
} GdaTransactionIsolation;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaTransactionStatusEvent"></a><h3>struct GdaTransactionStatusEvent</h3>
<pre class="programlisting">struct GdaTransactionStatusEvent {
	GdaTransactionStatus         *trans;
	GdaTransactionStatusEventType type;
	union {
		gchar                *svp_name; /* save point name if this event corresponds to a new save point */
		gchar                *sql;      /* SQL to store SQL queries in transactions */
		GdaTransactionStatus *sub_trans;/* sub transaction event */
	} pl;
	GdaConnectionEvent           *conn_event;

	gpointer  _gda_reserved1;
	gpointer  _gda_reserved2;
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaTransactionStatusEventType"></a><h3>enum GdaTransactionStatusEventType</h3>
<pre class="programlisting">typedef enum {
	GDA_TRANSACTION_STATUS_EVENT_SAVEPOINT,
	GDA_TRANSACTION_STATUS_EVENT_SQL,
	GDA_TRANSACTION_STATUS_EVENT_SUB_TRANSACTION
} GdaTransactionStatusEventType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaTransactionStatusState"></a><h3>enum GdaTransactionStatusState</h3>
<pre class="programlisting">typedef enum {
	GDA_TRANSACTION_STATUS_STATE_OK,
	GDA_TRANSACTION_STATUS_STATE_FAILED
} GdaTransactionStatusState;
</pre>
<p>
</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.17</div>
</body>
</html>