summaryrefslogtreecommitdiff
path: root/vala/gupnp-custom.vala
blob: 4458dbe8edde3f7ad4e5fb7da6fe1fad3a75003a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (C) 2012 Jens Georg <mail@jensge.org>
 *
 * Author: Jens Georg <mail@jensge.org>
 *
 * This file is part of GUPnP.
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

[Compact]
public class GUPnP.ServiceProxyAction {
    [CCode (has_construct_function = false)]
    public ServiceProxyAction (string action, ...);
    public bool get_result (...) throws GLib.Error;
}

public interface GUPnP.Acl : GLib.Object {
		public abstract bool is_allowed (GUPnP.Device? device, GUPnP.Service? service, string path, string address, string? agent);
		public abstract async bool is_allowed_async (GUPnP.Device? device, GUPnP.Service? service, string path, string address, string? agent, GLib.Cancellable? cancellable) throws GLib.Error;
}