[rygel/wip/acl: 623/625] core,main: Add DBus ACL class



commit 2a8cf4e63ec7ecbf5ea355737a782488ebf2050d
Author: Jens Georg <mail jensge org>
Date:   Sat Nov 8 15:33:05 2014 +0100

    core,main: Add DBus ACL class
    
    Signed-off-by: Jens Georg <mail jensge org>

 src/librygel-core/rygel-dbus-interface.vala | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/src/librygel-core/rygel-dbus-interface.vala b/src/librygel-core/rygel-dbus-interface.vala
index 7a6a2478..00c4be83 100644
--- a/src/librygel-core/rygel-dbus-interface.vala
+++ b/src/librygel-core/rygel-dbus-interface.vala
@@ -41,3 +41,16 @@ public interface Rygel.DBusAclProvider : Object {
                                            string?                        agent)
                                            throws DBusError, IOError;
 }
+
+[DBus (name = "org.gnome.Rygel1.AclProvider1")]
+public interface Rygel.DBusAclProvider : Object {
+    public const string SERVICE_NAME = "org.gnome.Rygel1.AclProvider1";
+    public const string OBJECT_PATH = "/org/gnome/Rygel1/AclProvider1";
+
+    public abstract async bool is_allowed (GLib.HashTable<string, string> device,
+                                           GLib.HashTable<string, string> service,
+                                           string                         path,
+                                           string                         address,
+                                           string?                        agent)
+                                           throws DBusError, IOError;
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]