File: common.vapi

package info (click to toggle)
msitools 0.98-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,412 kB
  • sloc: ansic: 52,899; sh: 8,590; yacc: 862; makefile: 374; sed: 16
file content (52 lines) | stat: -rw-r--r-- 2,346 bytes parent folder | download | duplicates (3)
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
/* common.vapi generated by valac 0.34.2, do not modify. */

namespace Wixl {
	namespace UUID {
	}
	[CCode (cheader_filename = "libcommon.h")]
	public class UnixInputStream : GLib.InputStream {
		public UnixInputStream (int fd_);
		public override bool close (GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public override ssize_t read ([CCode (array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.IOError;
		public int fd { get; set construct; }
	}
	[CCode (cheader_filename = "libcommon.h")]
	public errordomain Error {
		FAILED,
		FIXME
	}
	[CCode (cheader_filename = "libcommon.h")]
	public static string add_braces (string str);
	[CCode (cheader_filename = "libcommon.h")]
	public static void compute_md5 (GLib.File file, ref int hash1, ref int hash2, ref int hash3, ref int hash4) throws GLib.Error;
	[CCode (cheader_filename = "libcommon.h")]
	public static G enum_from_string<G> (string str) throws GLib.Error;
	[CCode (cheader_filename = "libcommon.h")]
	public static int find_closing_paren (string str);
	[CCode (cheader_filename = "libcommon.h")]
	public static string generate_id (string prefix, uint n, ...);
	[CCode (cheader_filename = "libcommon.h")]
	public static string get_uuid (owned string uuid) throws GLib.Error;
	[CCode (cheader_filename = "libcommon.h")]
	public static void hash_table_add<G> (GLib.HashTable<G,weak G*> h, G o);
	[CCode (cheader_filename = "libcommon.h")]
	public static string indent (string space, string text);
	[CCode (cheader_filename = "libcommon.h")]
	public static long now ();
	[CCode (cheader_filename = "libcommon.h")]
	public static bool parse_yesno (string? str, bool @default = false);
	[CCode (cheader_filename = "libcommon.h")]
	public static string random_id (string prefix);
	[CCode (cheader_filename = "libcommon.h")]
	public static string remove_prefix (string prefix, string str);
	[CCode (cheader_filename = "libcommon.h")]
	public static uint64 time_to_filetime (long t);
	[CCode (cheader_filename = "libcommon.h")]
	public static string unquote (string str);
	[CCode (cheader_filename = "libcommon.h")]
	public static string uuid_from_name (string s);
	[CCode (cheader_filename = "libcommon.h")]
	public static string uuid_generate ();
	[CCode (cheader_filename = "libcommon.h")]
	public static string yesno (bool yes);
}