~ubuntu-branches/debian/sid/glib2.0/sid

« back to all changes in this revision

Viewing changes to gio/gdbusnameowning.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-05-08 06:25:57 UTC
  • mfrom: (1.27.14) (3.1.181 experimental)
  • Revision ID: package-import@ubuntu.com-20130508062557-i7gbku66mls70gi2
Tags: 2.36.1-2
Merge experimental branch, upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * Author: David Zeuthen <davidz@redhat.com>
21
21
 */
22
22
 
 
23
#ifndef __G_DBUS_NAME_OWNING_H__
 
24
#define __G_DBUS_NAME_OWNING_H__
 
25
 
23
26
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
24
27
#error "Only <gio/gio.h> can be included directly."
25
28
#endif
26
29
 
27
 
#ifndef __G_DBUS_NAME_OWNING_H__
28
 
#define __G_DBUS_NAME_OWNING_H__
29
 
 
30
30
#include <gio/giotypes.h>
31
31
 
32
32
G_BEGIN_DECLS
74
74
                                      const gchar     *name,
75
75
                                      gpointer         user_data);
76
76
 
 
77
GLIB_AVAILABLE_IN_ALL
77
78
guint g_bus_own_name                 (GBusType                  bus_type,
78
79
                                      const gchar              *name,
79
80
                                      GBusNameOwnerFlags        flags,
83
84
                                      gpointer                  user_data,
84
85
                                      GDestroyNotify            user_data_free_func);
85
86
 
 
87
GLIB_AVAILABLE_IN_ALL
86
88
guint g_bus_own_name_on_connection   (GDBusConnection          *connection,
87
89
                                      const gchar              *name,
88
90
                                      GBusNameOwnerFlags        flags,
91
93
                                      gpointer                  user_data,
92
94
                                      GDestroyNotify            user_data_free_func);
93
95
 
 
96
GLIB_AVAILABLE_IN_ALL
94
97
guint g_bus_own_name_with_closures   (GBusType                  bus_type,
95
98
                                      const gchar              *name,
96
99
                                      GBusNameOwnerFlags        flags,
98
101
                                      GClosure                 *name_acquired_closure,
99
102
                                      GClosure                 *name_lost_closure);
100
103
 
 
104
GLIB_AVAILABLE_IN_ALL
101
105
guint g_bus_own_name_on_connection_with_closures (
102
106
                                      GDBusConnection          *connection,
103
107
                                      const gchar              *name,
105
109
                                      GClosure                 *name_acquired_closure,
106
110
                                      GClosure                 *name_lost_closure);
107
111
 
 
112
GLIB_AVAILABLE_IN_ALL
108
113
void  g_bus_unown_name               (guint                     owner_id);
109
114
 
110
115
G_END_DECLS