~ubuntu-branches/ubuntu/oneiric/dbus-glib/oneiric-updates

« back to all changes in this revision

Viewing changes to doc/reference/html/dbus-glib-DBus-GLib-low-level.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2007-07-06 14:00:42 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070706140042-zh5qmx99npmoe454
Tags: 0.74-1
* New upstream release.
* debian/rules:
  + Update shlibs to >= 0.74 because of new API.
* debian/control:
  + Use ${binary:Version} to make lintian happy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>DBus GLib low level</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
7
7
<link rel="start" href="index.html" title="D-Bus GLib bindings - Reference Manual">
8
8
<link rel="up" href="ch02.html" title="API Reference">
9
 
<link rel="prev" href="dbus-glib-GType-utility-functions.html" title="GType utility functions">
 
9
<link rel="prev" href="dbus-glib-Specializable-GType-System.html" title="Specializable GType System">
10
10
<link rel="next" href="ch03.html" title="Tools Reference">
11
 
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="ch01.html" title="Introduction">
14
14
<link rel="chapter" href="ch02.html" title="API Reference">
17
17
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
18
18
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
19
19
<tr valign="middle">
20
 
<td><a accesskey="p" href="dbus-glib-GType-utility-functions.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
20
<td><a accesskey="p" href="dbus-glib-Specializable-GType-System.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
21
21
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
22
22
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
23
23
<th width="100%" align="center">D-Bus GLib bindings - Reference Manual</th>
24
24
<td><a accesskey="n" href="ch03.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
25
25
</tr>
26
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2540600" class="shortcut">Top</a>
 
26
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2578309" class="shortcut">Top</a>
27
27
                  &#160;|&#160;
28
 
                  <a href="#id2530689" class="shortcut">Description</a></nobr></td></tr>
 
28
                  <a href="#id2594973" class="shortcut">Description</a></nobr></td></tr>
29
29
</table>
30
30
<div class="refentry" lang="en">
31
31
<a name="dbus-glib-DBus-GLib-low-level"></a><div class="titlepage"></div>
32
32
<div class="refnamediv"><table width="100%"><tr>
33
33
<td valign="top">
34
34
<h2>
35
 
<a name="id2540600"></a><span class="refentrytitle">DBus GLib low level</span>
 
35
<a name="id2578309"></a><span class="refentrytitle">DBus GLib low level</span>
36
36
</h2>
37
37
<p>DBus GLib low level &#8212; DBus lower level functions</p>
38
38
</td>
39
39
<td valign="top" align="right"></td>
40
40
</tr></table></div>
41
41
<div class="refsect1" lang="en">
42
 
<a name="id2540869"></a><h2>Stability Level</h2>
 
42
<a name="id2550900"></a><h2>Stability Level</h2>
43
43
Unstable, unless otherwise indicated
44
44
</div>
45
45
<div class="refsynopsisdiv">
48
48
 
49
49
 
50
50
 
51
 
void        <a href="dbus-glib-DBus-GLib-low-level.html#dbus-set-g-error">dbus_set_g_error</a>                (GError **gerror,
52
 
                                             DBusError *derror);
53
 
void        <a href="dbus-glib-DBus-GLib-low-level.html#dbus-connection-setup-with-g-main">dbus_connection_setup_with_g_main</a>
54
 
                                            (DBusConnection *connection,
55
 
                                             GMainContext *context);
56
 
void        <a href="dbus-glib-DBus-GLib-low-level.html#dbus-server-setup-with-g-main">dbus_server_setup_with_g_main</a>   (DBusServer *server,
57
 
                                             GMainContext *context);
 
51
void                <a href="dbus-glib-DBus-GLib-low-level.html#dbus-set-g-error">dbus_set_g_error</a>                    (GError **gerror,
 
52
                                                         DBusError *derror);
 
53
void                <a href="dbus-glib-DBus-GLib-low-level.html#dbus-connection-setup-with-g-main">dbus_connection_setup_with_g_main</a>   (DBusConnection *connection,
 
54
                                                         GMainContext *context);
 
55
void                <a href="dbus-glib-DBus-GLib-low-level.html#dbus-server-setup-with-g-main">dbus_server_setup_with_g_main</a>       (DBusServer *server,
 
56
                                                         GMainContext *context);
58
57
 
59
58
</pre>
60
59
</div>
61
60
<div class="refsect1" lang="en">
62
 
<a name="id2530689"></a><h2>Description</h2>
 
61
<a name="id2594973"></a><h2>Description</h2>
63
62
<p>
64
63
These functions can be used to access lower level of DBus.</p>
65
64
<p>
67
66
</p>
68
67
</div>
69
68
<div class="refsect1" lang="en">
70
 
<a name="id2571951"></a><h2>Details</h2>
 
69
<a name="id2593367"></a><h2>Details</h2>
71
70
<div class="refsect2" lang="en">
72
 
<a name="id2571962"></a><h3>
 
71
<a name="id2593378"></a><h3>
73
72
<a name="dbus-set-g-error"></a>dbus_set_g_error ()</h3>
74
 
<a class="indexterm" name="id2571975"></a><pre class="programlisting">void        dbus_set_g_error                (GError **gerror,
75
 
                                             DBusError *derror);</pre>
 
73
<a class="indexterm" name="id2593390"></a><pre class="programlisting">void                dbus_set_g_error                    (GError **gerror,
 
74
                                                         DBusError *derror);</pre>
76
75
<p>
77
76
FIXME</p>
78
77
<p>
82
81
<col align="left" valign="top">
83
82
<tbody>
84
83
<tr>
85
 
<td>
86
 
<span class="term"><em class="parameter"><code>gerror</code></em>&#160;:</span></td>
 
84
<td><span class="term"><em class="parameter"><code>gerror</code></em>&#160;:</span></td>
87
85
<td> an error
88
86
</td>
89
87
</tr>
90
88
<tr>
91
 
<td>
92
 
<span class="term"><em class="parameter"><code>derror</code></em>&#160;:</span></td>
 
89
<td><span class="term"><em class="parameter"><code>derror</code></em>&#160;:</span></td>
93
90
<td>
94
91
 
95
92
 
100
97
</div>
101
98
<hr>
102
99
<div class="refsect2" lang="en">
103
 
<a name="id2572044"></a><h3>
 
100
<a name="id2593461"></a><h3>
104
101
<a name="dbus-connection-setup-with-g-main"></a>dbus_connection_setup_with_g_main ()</h3>
105
 
<a class="indexterm" name="id2572056"></a><pre class="programlisting">void        dbus_connection_setup_with_g_main
106
 
                                            (DBusConnection *connection,
107
 
                                             GMainContext *context);</pre>
 
102
<a class="indexterm" name="id2589058"></a><pre class="programlisting">void                dbus_connection_setup_with_g_main   (DBusConnection *connection,
 
103
                                                         GMainContext *context);</pre>
108
104
<p>
109
105
Sets the watch and timeout functions of a <span class="type">DBusConnection</span>
110
106
to integrate the connection with the GLib main loop.
123
119
<col align="left" valign="top">
124
120
<tbody>
125
121
<tr>
126
 
<td>
127
 
<span class="term"><em class="parameter"><code>connection</code></em>&#160;:</span></td>
 
122
<td><span class="term"><em class="parameter"><code>connection</code></em>&#160;:</span></td>
128
123
<td> the connection
129
124
</td>
130
125
</tr>
131
126
<tr>
132
 
<td>
133
 
<span class="term"><em class="parameter"><code>context</code></em>&#160;:</span></td>
 
127
<td><span class="term"><em class="parameter"><code>context</code></em>&#160;:</span></td>
134
128
<td> the <span class="type">GMainContext</span> or <span class="type">NULL</span> for default context
135
129
</td>
136
130
</tr>
139
133
</div>
140
134
<hr>
141
135
<div class="refsect2" lang="en">
142
 
<a name="id2525479"></a><h3>
 
136
<a name="id2569737"></a><h3>
143
137
<a name="dbus-server-setup-with-g-main"></a>dbus_server_setup_with_g_main ()</h3>
144
 
<a class="indexterm" name="id2525490"></a><pre class="programlisting">void        dbus_server_setup_with_g_main   (DBusServer *server,
145
 
                                             GMainContext *context);</pre>
 
138
<a class="indexterm" name="id2569748"></a><pre class="programlisting">void                dbus_server_setup_with_g_main       (DBusServer *server,
 
139
                                                         GMainContext *context);</pre>
146
140
<p>
147
141
Sets the watch and timeout functions of a <span class="type">DBusServer</span>
148
142
to integrate the server with the GLib main loop.
160
154
<col align="left" valign="top">
161
155
<tbody>
162
156
<tr>
163
 
<td>
164
 
<span class="term"><em class="parameter"><code>server</code></em>&#160;:</span></td>
 
157
<td><span class="term"><em class="parameter"><code>server</code></em>&#160;:</span></td>
165
158
<td> the server
166
159
</td>
167
160
</tr>
168
161
<tr>
169
 
<td>
170
 
<span class="term"><em class="parameter"><code>context</code></em>&#160;:</span></td>
 
162
<td><span class="term"><em class="parameter"><code>context</code></em>&#160;:</span></td>
171
163
<td> the <span class="type">GMainContext</span> or <span class="type">NULL</span> for default
172
164
</td>
173
165
</tr>