public weak string keystrings;
public short len;
}
- [CCode (cheader_filename = "atspi/atspi.h", has_type_id = false)]
- public struct Reference {
- public weak string name;
- public weak string path;
- }
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_CACHE_", type_id = "atspi_cache_get_type ()")]
[Flags]
public enum Cache {
SCREEN,
WINDOW
}
- [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_ERROR_", has_type_id = false)]
- public enum Error {
- APPLICATION_GONE,
- IPC,
- SYNC_NOT_ALLOWED
- }
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_", type_id = "atspi_event_type_get_type ()")]
public enum EventType {
KEY_PRESSED_EVENT,
public uint16 read_uint16 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
public uint32 read_uint32 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
public uint64 read_uint64 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
+ [Version (deprecated = true, deprecated_since = "2.56")]
public string read_until (string stop_chars, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.IOError;
- [Version (since = "2.20")]
+ [Version (deprecated = true, deprecated_since = "2.56", since = "2.20")]
public async string read_until_async (string stop_chars, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length) throws GLib.IOError, GLib.IOError;
[Version (since = "2.26")]
public string read_upto (string stop_chars, ssize_t stop_chars_len, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.IOError;
[NoWrapper]
public virtual void auth_required (Soup.Message msg, Soup.Auth auth, bool retrying);
public virtual void cancel_message (Soup.Message msg, uint status_code);
+ [Version (since = "2.62")]
+ public async GLib.IOStream connect_async (Soup.URI uri, GLib.Cancellable? cancellable, [CCode (scope = "async")] Soup.SessionConnectProgressCallback? progress_callback) throws GLib.Error;
[NoWrapper]
public virtual void flush_queue ();
public unowned GLib.MainContext? get_async_context ();
public delegate void ServerWebsocketCallback (Soup.Server server, Soup.WebsocketConnection connection, string path, Soup.ClientContext client);
[CCode (cheader_filename = "libsoup/soup.h", instance_pos = 2.9)]
public delegate void SessionCallback (Soup.Session session, Soup.Message msg);
+ [CCode (cheader_filename = "libsoup/soup.h", instance_pos = 3.9)]
+ [Version (since = "2.62")]
+ public delegate void SessionConnectProgressCallback (Soup.Session session, GLib.SocketClientEvent event, GLib.IOStream connection);
[CCode (cheader_filename = "libsoup/soup.h", instance_pos = 2.9)]
public delegate void SocketCallback (Soup.Socket sock, uint status);
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_ADDRESS_ANY_PORT")]