summaryrefslogtreecommitdiff
path: root/include/dbus.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-09-09 18:47:25 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-09-09 18:47:25 +0200
commitbf54810e3f36c0397fa71c6319c76fe76257b9f5 (patch)
treeaac97a0c6a30d9943d50a1d98bc38160b110136b /include/dbus.h
parent3681fe237d4c9ed4b5a6f432c1002e25964207d8 (diff)
downloadconnman-bf54810e3f36c0397fa71c6319c76fe76257b9f5.tar.gz
connman-bf54810e3f36c0397fa71c6319c76fe76257b9f5.tar.bz2
connman-bf54810e3f36c0397fa71c6319c76fe76257b9f5.zip
Use D-Bus constants for PolicyKit plugin
Diffstat (limited to 'include/dbus.h')
-rw-r--r--include/dbus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dbus.h b/include/dbus.h
index 2ff41b2a..4823d8ab 100644
--- a/include/dbus.h
+++ b/include/dbus.h
@@ -47,6 +47,9 @@ extern "C" {
#define CONNMAN_PROVIDER_INTERFACE CONNMAN_SERVICE ".Provider"
#define CONNMAN_TECHNOLOGY_INTERFACE CONNMAN_SERVICE ".Technology"
+#define CONNMAN_PRIVILEGE_MODIFY 1
+#define CONNMAN_PRIVILEGE_SECRET 2
+
typedef void (* connman_dbus_append_cb_t) (DBusMessageIter *iter,
void *user_data);