/usr/share/vala/vapi/libuhttpmock-0.0.vapi is in libuhttpmock-dev 0.3.1-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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | /* libuhttpmock-0.0.vapi generated by vapigen-0.24, do not modify. */
[CCode (cprefix = "Uhm", gir_namespace = "Uhm", gir_version = "0.0", lower_case_cprefix = "uhm_")]
namespace Uhm {
[CCode (cheader_filename = "libuhttpmock/uhm.h", type_id = "uhm_resolver_get_type ()")]
public class Resolver : GLib.Resolver {
[CCode (has_construct_function = false)]
public Resolver ();
public bool add_A (string hostname, string addr);
public bool add_SRV (string service, string protocol, string domain, string addr, uint16 port);
public void reset ();
}
[CCode (cheader_filename = "libuhttpmock/uhm.h", type_id = "uhm_server_get_type ()")]
public class Server : GLib.Object {
[CCode (has_construct_function = false)]
public Server ();
public void end_trace ();
public static GLib.Quark error_quark ();
public unowned string get_address ();
public bool get_enable_logging ();
public bool get_enable_online ();
public uint get_port ();
public unowned Uhm.Resolver get_resolver ();
public unowned GLib.TlsCertificate get_tls_certificate ();
public unowned GLib.File get_trace_directory ();
public void load_trace (GLib.File trace_file, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async void load_trace_async (GLib.File trace_file, GLib.Cancellable? cancellable) throws GLib.Error;
public void received_message_chunk (string message_chunk, int64 message_chunk_length) throws GLib.Error;
public static void received_message_chunk_from_soup (Soup.Logger logger, Soup.LoggerLogLevel level, char direction, string data, void* user_data);
public void received_message_chunk_with_direction (char direction, string data, int64 data_length) throws GLib.Error;
public void run ();
public unowned GLib.TlsCertificate set_default_tls_certificate ();
public void set_enable_logging (bool enable_logging);
public void set_enable_online (bool enable_online);
public void set_expected_domain_names ([CCode (array_length = false, array_null_terminated = true)] string[]? domain_names);
public void set_tls_certificate (GLib.TlsCertificate? tls_certificate);
public void set_trace_directory (GLib.File? trace_directory);
public void start_trace (string trace_name) throws GLib.Error;
public void start_trace_full (GLib.File trace_file) throws GLib.Error;
public void stop ();
public void unload_trace ();
public string address { get; }
public bool enable_logging { get; set; }
public bool enable_online { get; set; }
public uint port { get; }
public Uhm.Resolver resolver { get; }
public GLib.TlsCertificate tls_certificate { get; set; }
public GLib.File trace_directory { get; set; }
public virtual signal bool compare_messages (Soup.Message expected_message, Soup.Message actual_message, Soup.ClientContext actual_client);
public virtual signal bool handle_message (Soup.Message message, Soup.ClientContext client);
}
[CCode (cheader_filename = "libuhttpmock/uhm.h", cprefix = "UHM_SERVER_ERROR_MESSAGE_", has_type_id = false)]
public enum ServerError {
[CCode (cname = "UHM_SERVER_ERROR_MESSAGE_MISMATCH")]
SERVER_ERROR_MESSAGE_MISMATCH
}
[CCode (cheader_filename = "libuhttpmock/uhm.h", cname = "UHM_MAJOR_VERSION")]
public const int MAJOR_VERSION;
[CCode (cheader_filename = "libuhttpmock/uhm.h", cname = "UHM_MICRO_VERSION")]
public const int MICRO_VERSION;
[CCode (cheader_filename = "libuhttpmock/uhm.h", cname = "UHM_MINOR_VERSION")]
public const int MINOR_VERSION;
}
|