This file is indexed.

/usr/share/vala/vapi/libmsi-1.0.vapi is in libmsi-dev 0.97-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
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
/* libmsi-1.0.vapi generated by vapigen, do not modify. */

[CCode (cprefix = "Libmsi", gir_namespace = "Libmsi", gir_version = "1.0", lower_case_cprefix = "libmsi_")]
namespace Libmsi {
	[CCode (cheader_filename = "libmsi.h", type_id = "libmsi_database_get_type ()")]
	public class Database : GLib.Object {
		[CCode (has_construct_function = false)]
		public Database (string path, uint flags, string? persist) throws GLib.Error;
		public bool apply_transform (string file) throws GLib.Error;
		public bool commit () throws GLib.Error;
		public bool export (string table, int fd) throws GLib.Error;
		public Libmsi.Record get_primary_keys (string table) throws GLib.Error;
		public bool import (string path) throws GLib.Error;
		public bool is_readonly ();
		public bool is_table_persistent (string table) throws GLib.Error;
		public bool merge (Libmsi.Database merge, string? table) throws GLib.Error;
		[NoAccessorMethod]
		public Libmsi.DbFlags flags { get; construct; }
		[NoAccessorMethod]
		public string outpath { owned get; construct; }
		[NoAccessorMethod]
		public string path { owned get; construct; }
	}
	[CCode (cheader_filename = "libmsi.h", type_id = "libmsi_query_get_type ()")]
	public class Query : GLib.Object {
		[CCode (has_construct_function = false)]
		public Query (Libmsi.Database database, string query) throws GLib.Error;
		public bool close () throws GLib.Error;
		public bool execute (Libmsi.Record? rec = null) throws GLib.Error;
		public Libmsi.Record? fetch () throws GLib.Error;
		public Libmsi.Record get_column_info (Libmsi.ColInfo info) throws GLib.Error;
		public void get_error (out string column) throws GLib.Error;
		[NoAccessorMethod]
		public Libmsi.Database database { owned get; construct; }
		[NoAccessorMethod]
		public string query { owned get; construct; }
	}
	[CCode (cheader_filename = "libmsi.h", type_id = "libmsi_record_get_type ()")]
	public class Record : GLib.Object {
		[CCode (has_construct_function = false)]
		public Record (uint count);
		public bool clear ();
		public uint get_field_count ();
		public int get_int (uint field);
		public GLib.InputStream get_stream (uint field);
		public string get_string (uint field);
		public bool is_null (uint field);
		public bool load_stream (uint field, string filename);
		public bool set_int (uint field, int val);
		public bool set_stream (uint field, GLib.InputStream input, size_t count, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool set_string (uint field, string val);
		[NoAccessorMethod]
		public uint count { get; construct; }
	}
	[CCode (cheader_filename = "libmsi.h", type_id = "libmsi_summary_info_get_type ()")]
	public class SummaryInfo : GLib.Object {
		[CCode (has_construct_function = false)]
		public SummaryInfo (Libmsi.Database? database, uint update_count) throws GLib.Error;
		public uint64 get_filetime (Libmsi.Property prop) throws GLib.Error;
		public int get_int (Libmsi.Property prop) throws GLib.Error;
		public GLib.Array<Libmsi.Property> get_properties ();
		public Libmsi.PropertyType get_property_type (Libmsi.Property prop) throws GLib.Error;
		public unowned string get_string (Libmsi.Property prop) throws GLib.Error;
		public bool persist () throws GLib.Error;
		public bool save (Libmsi.Database db) throws GLib.Error;
		public bool set_filetime (Libmsi.Property prop, uint64 value) throws GLib.Error;
		public bool set_int (Libmsi.Property prop, int value) throws GLib.Error;
		public bool set_string (Libmsi.Property prop, string value) throws GLib.Error;
		[NoAccessorMethod]
		public Libmsi.Database database { owned get; construct; }
		[NoAccessorMethod]
		public uint update_count { get; construct; }
	}
	[CCode (cheader_filename = "libmsi.h", cprefix = "LIBMSI_COL_INFO_", type_id = "libmsi_col_info_get_type ()")]
	public enum ColInfo {
		NAMES,
		TYPES
	}
	[CCode (cheader_filename = "libmsi.h", cprefix = "LIBMSI_DB_FLAGS_", type_id = "libmsi_db_flags_get_type ()")]
	[Flags]
	public enum DbFlags {
		READONLY,
		CREATE,
		TRANSACT,
		PATCH
	}
	[CCode (cheader_filename = "libmsi.h", cprefix = "LIBMSI_PROPERTY_", type_id = "libmsi_property_get_type ()")]
	public enum Property {
		DICTIONARY,
		CODEPAGE,
		TITLE,
		SUBJECT,
		AUTHOR,
		KEYWORDS,
		COMMENTS,
		TEMPLATE,
		LASTAUTHOR,
		UUID,
		EDITTIME,
		LASTPRINTED,
		CREATED_TM,
		LASTSAVED_TM,
		VERSION,
		SOURCE,
		RESTRICT,
		THUMBNAIL,
		APPNAME,
		SECURITY
	}
	[CCode (cheader_filename = "libmsi.h", cprefix = "LIBMSI_PROPERTY_TYPE_", type_id = "libmsi_property_type_get_type ()")]
	public enum PropertyType {
		EMPTY,
		INT,
		STRING,
		FILETIME
	}
	[CCode (cheader_filename = "libmsi.h", cprefix = "LIBMSI_DB_ERROR_")]
	public errordomain DBError {
		SUCCESS,
		INVALIDARG,
		MOREDATA,
		FUNCTIONERROR,
		DUPLICATEKEY,
		REQUIRED,
		BADLINK,
		OVERFLOW,
		UNDERFLOW,
		NOTINSET,
		BADVERSION,
		BADCASE,
		BADGUID,
		BADWILDCARD,
		BADIDENTIFIER,
		BADLANGUAGE,
		BADFILENAME,
		BADPATH,
		BADCONDITION,
		BADFORMATTED,
		BADTEMPLATE,
		BADDEFAULTDIR,
		BADREGPATH,
		BADCUSTOMSOURCE,
		BADPROPERTY,
		MISSINGDATA,
		BADCATEGORY,
		BADKEYTABLE,
		BADMAXMINVALUES,
		BADCABINET,
		BADSHORTCUT,
		STRINGOVERFLOW,
		BADLOCALIZEATTRIB;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "libmsi.h", cprefix = "LIBMSI_RESULT_")]
	public errordomain ResultError {
		SUCCESS,
		ACCESS_DENIED,
		INVALID_HANDLE,
		NOT_ENOUGH_MEMORY,
		INVALID_DATA,
		OUTOFMEMORY,
		INVALID_PARAMETER,
		OPEN_FAILED,
		CALL_NOT_IMPLEMENTED,
		MORE_DATA,
		NOT_FOUND,
		CONTINUE,
		UNKNOWN_PROPERTY,
		BAD_QUERY_SYNTAX,
		INVALID_FIELD,
		FUNCTION_FAILED,
		INVALID_TABLE,
		DATATYPE_MISMATCH,
		INVALID_DATATYPE;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "libmsi.h", cname = "LIBMSI_NULL_INT")]
	public const int NULL_INT;
}