1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
/* gssdp-1.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "GSSDP", lower_case_cprefix = "gssdp_")]
namespace GSSDP {
[CCode (cheader_filename = "libgssdp/gssdp.h")]
public class Client : GLib.Object {
[CCode (has_construct_function = false)]
public Client (GLib.MainContext? main_context, string? @interface) throws GLib.Error;
public unowned string get_host_ip ();
[NoAccessorMethod]
public bool active { get; set; }
public string host_ip { get; }
public string @interface { get; construct; }
public void* main_context { get; construct; }
public string server_id { get; set; }
}
[CCode (cheader_filename = "libgssdp/gssdp.h")]
public class ResourceBrowser : GLib.Object {
[CCode (has_construct_function = false)]
public ResourceBrowser (GSSDP.Client client, string target);
public bool active { get; set; }
public GSSDP.Client client { get; construct; }
public uint mx { get; set; }
public string target { get; set; }
public signal void resource_available (string usn, GLib.List<string> locations);
public virtual signal void resource_unavailable (string usn);
}
[CCode (cheader_filename = "libgssdp/gssdp.h")]
public class ResourceGroup : GLib.Object {
[CCode (has_construct_function = false)]
public ResourceGroup (GSSDP.Client client);
public uint add_resource (string target, string usn, GLib.List locations);
public uint add_resource_simple (string target, string usn, string location);
public void remove_resource (uint resource_id);
public bool available { get; set; }
public GSSDP.Client client { get; construct; }
public uint max_age { get; set; }
public uint message_delay { get; set; }
}
[CCode (cprefix = "GSSDP_ERROR_", cheader_filename = "libgssdp/gssdp.h")]
public errordomain Error {
NO_IP_ADDRESS,
FAILED,
}
[CCode (cheader_filename = "libgssdp/gssdp.h")]
public const string ALL_RESOURCES;
[CCode (cheader_filename = "libgssdp/gssdp.h")]
public static GLib.Quark error_quark ();
}
|