/usr/share/vala-0.12/vapi/grilo-net-0.1.vapi is in libgrilo-0.1-dev 0.1.18-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | /* grilo-net-0.1.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "GrlNet", lower_case_cprefix = "grl_net_")]
namespace GrlNet {
[CCode (cheader_filename = "net/grl-net.h")]
public class Wc : GLib.Object {
[CCode (has_construct_function = false)]
public Wc ();
public static GLib.Quark error_quark ();
public void flush_delayed_requests ();
public async bool request_async (string uri, GLib.Cancellable cancellable, out unowned string content, out unowned size_t? length = null) throws GLib.Error;
public void set_cache (bool use_cache);
public void set_cache_size (uint cache_size);
public void set_log_level (uint log_level);
public void set_throttling (uint throttling);
[NoAccessorMethod]
public bool cache { get; set construct; }
[NoAccessorMethod]
public uint cache_size { get; set construct; }
[NoAccessorMethod]
public uint loglevel { get; set; }
[NoAccessorMethod]
public uint throttling { get; set; }
}
[CCode (cheader_filename = "net/grl-net.h", cprefix = "GRL_NET_WC_ERROR_", has_type_id = false)]
public enum WcError {
UNAVAILABLE,
PROTOCOL_ERROR,
AUTHENTICATION_REQUIRED,
NOT_FOUND,
CONFLICT,
FORBIDDEN,
NETWORK_ERROR,
PROXY_ERROR,
CANCELLED
}
}
|