summary refs log tree commit diff
path: root/libnm-glib/nm-object-private.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2017-01-17 20:25:09 +0100
committerMichael Biebl <biebl@debian.org>2017-01-17 20:25:09 +0100
commit58f8be580039b0575b197b9573a1c92745d96d30 (patch)
tree2c226233f623a0dcb529be0eb8cdf97e4a2ae0c0 /libnm-glib/nm-object-private.h
parent45cb5bb3c0e6edb887cf69b417fcaf7053814a9b (diff)
New upstream version 1.5.90 upstream/1.5.90
Diffstat (limited to 'libnm-glib/nm-object-private.h')
-rw-r--r--libnm-glib/nm-object-private.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/libnm-glib/nm-object-private.h b/libnm-glib/nm-object-private.h
index 2d3d8f9c..87141aab 100644
--- a/libnm-glib/nm-object-private.h
+++ b/libnm-glib/nm-object-private.h
@@ -25,9 +25,10 @@
 
 void _nm_object_ensure_inited (NMObject *object);
 
-typedef gboolean (*PropertyMarshalFunc) (NMObject *, GParamSpec *, GValue *, gpointer);
-
-typedef GObject * (*NMObjectCreatorFunc) (DBusGConnection *, const char *);
+typedef gboolean (*PropertyMarshalFunc) (NMObject *object,
+                                         GParamSpec *pspec,
+                                         GValue *value,
+                                         gpointer field);
 
 typedef struct {
 	const char *name;
@@ -79,9 +80,12 @@ handle_ptr_array_return (GPtrArray *array)
 }
 
 /* object demarshalling support */
-typedef GType (*NMObjectTypeFunc) (DBusGConnection *, const char *);
-typedef void (*NMObjectTypeCallbackFunc) (GType, gpointer);
-typedef void (*NMObjectTypeAsyncFunc) (DBusGConnection *, const char *, NMObjectTypeCallbackFunc, gpointer);
+typedef GType (*NMObjectTypeFunc) (DBusGConnection *connection, const char *path);
+typedef void (*NMObjectTypeCallbackFunc) (GType type, gpointer user_data);
+typedef void (*NMObjectTypeAsyncFunc) (DBusGConnection *connection,
+                                       const char *path,
+                                       NMObjectTypeCallbackFunc callback,
+                                       gpointer user_data);
 
 void _nm_object_register_type_func (GType base_type, NMObjectTypeFunc type_func,
                                     NMObjectTypeAsyncFunc type_async_func);