summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-object-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-glib/nm-object-private.h')
-rw-r--r--libnm-glib/nm-object-private.h63
1 files changed, 37 insertions, 26 deletions
diff --git a/libnm-glib/nm-object-private.h b/libnm-glib/nm-object-private.h
index 93514cbe4..4410df22d 100644
--- a/libnm-glib/nm-object-private.h
+++ b/libnm-glib/nm-object-private.h
@@ -17,7 +17,7 @@
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
- * Copyright (C) 2008 Red Hat, Inc.
+ * Copyright (C) 2008 - 2011 Red Hat, Inc.
*/
#ifndef NM_OBJECT_PRIVATE_H
@@ -37,9 +37,11 @@ typedef struct {
} NMPropertiesChangedInfo;
-void _nm_object_handle_properties_changed (NMObject *object,
- DBusGProxy *proxy,
- const NMPropertiesChangedInfo *info);
+void _nm_object_handle_properties_changed (NMObject *object,
+ DBusGProxy *proxy,
+ const NMPropertiesChangedInfo *info);
+
+void _nm_object_process_properties_changed (NMObject *self, GHashTable *properties);
gboolean _nm_object_demarshal_generic (NMObject *object, GParamSpec *pspec, GValue *value, gpointer field);
@@ -48,46 +50,55 @@ void _nm_object_queue_notify (NMObject *object, const char *property);
/* DBus property accessors */
gboolean _nm_object_get_property (NMObject *object,
- const char *interface,
- const char *prop_name,
- GValue *value);
+ const char *interface,
+ const char *prop_name,
+ GValue *value,
+ GError **error);
void _nm_object_set_property (NMObject *object,
- const char *interface,
- const char *prop_name,
- GValue *value);
+ const char *interface,
+ const char *prop_name,
+ GValue *value);
char *_nm_object_get_string_property (NMObject *object,
- const char *interface,
- const char *prop_name);
+ const char *interface,
+ const char *prop_name,
+ GError **error);
char *_nm_object_get_object_path_property (NMObject *object,
- const char *interface,
- const char *prop_name);
+ const char *interface,
+ const char *prop_name,
+ GError **error);
gint32 _nm_object_get_int_property (NMObject *object,
- const char *interface,
- const char *prop_name);
+ const char *interface,
+ const char *prop_name,
+ GError **error);
guint32 _nm_object_get_uint_property (NMObject *object,
- const char *interface,
- const char *prop_name);
+ const char *interface,
+ const char *prop_name,
+ GError **error);
gboolean _nm_object_get_boolean_property (NMObject *object,
- const char *interface,
- const char *prop_name);
+ const char *interface,
+ const char *prop_name,
+ GError **error);
gint8 _nm_object_get_byte_property (NMObject *object,
- const char *interface,
- const char *prop_name);
+ const char *interface,
+ const char *prop_name,
+ GError **error);
gdouble _nm_object_get_double_property (NMObject *object,
- const char *interface,
- const char *prop_name);
+ const char *interface,
+ const char *prop_name,
+ GError **error);
GByteArray *_nm_object_get_byte_array_property (NMObject *object,
- const char *interface,
- const char *prop_name);
+ const char *interface,
+ const char *prop_name,
+ GError **error);
static inline const GPtrArray *
handle_ptr_array_return (GPtrArray *array)