summaryrefslogtreecommitdiff
path: root/vala
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2021-06-05 09:35:26 +0200
committerJens Georg <mail@jensge.org>2021-06-05 09:41:10 +0200
commitf5539eedcfde3e7178afa1322a16ddbe46a9c90c (patch)
tree257648a8d53daa571af3c0cefd4a49245bf5a440 /vala
parentf66bf79d192a40afffa4a6ab0e36d639a92d85ef (diff)
downloadgupnp-f5539eedcfde3e7178afa1322a16ddbe46a9c90c.tar.gz
vala: Bind varargs functions of ServiceProxyAction
Diffstat (limited to 'vala')
-rw-r--r--vala/gupnp-1.2-custom.vala8
1 files changed, 8 insertions, 0 deletions
diff --git a/vala/gupnp-1.2-custom.vala b/vala/gupnp-1.2-custom.vala
index 425d878..42c53ca 100644
--- a/vala/gupnp-1.2-custom.vala
+++ b/vala/gupnp-1.2-custom.vala
@@ -29,8 +29,16 @@ public class GUPnP.ServiceProxy : GUPnP.ServiceInfo {
public bool send_action_list (string action, GLib.List<string> in_names, GLib.List<weak GLib.Value?> in_values, GLib.List<string> out_names, GLib.List<GLib.Type?> out_types, out GLib.List<weak GLib.Value*> out_values) throws GLib.Error;
}
+[Compact]
+public class GUPnP.ServiceProxyAction {
+ [CCode (has_construct_function = false)]
+ public ServiceProxyAction (string action, ...) throws GLib.Error;
+ 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;
}
+