/* dconf.vapi generated by valac 0.18.1, do not modify. */

namespace DConf {
	[CCode (cheader_filename = "dconf.h")]
	public class Client : GLib.Object {
		public Client (string? profile = null, owned DConf.WatchFunc? watch_func = null);
		public bool is_writable (string key);
		public string[] list (string dir);
		public GLib.Variant? read (string key);
		public GLib.Variant? read_default (string key);
		public GLib.Variant? read_no_default (string key);
		public bool unwatch (string name, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool unwatch_async (string name, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool watch (string path, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool watch_async (string name, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool write (string key, GLib.Variant? value, out string tag = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool write_async (string key, GLib.Variant? value, out string tag = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool write_many (string dir, [CCode (array_length = false, array_null_terminated = true)] string[] rels, GLib.Variant?[] values, out string? tag = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
	}
	[CCode (cheader_filename = "dconf.h")]
	public delegate void WatchFunc (DConf.Client client, string path, string[] items, string tag);
	[CCode (cheader_filename = "dconf.h")]
	public static bool is_dir (string str, GLib.Error* error = null);
	[CCode (cheader_filename = "dconf.h")]
	public static bool is_key (string str, GLib.Error* error = null);
	[CCode (cheader_filename = "dconf.h")]
	public static bool is_path (string str, GLib.Error* error = null);
	[CCode (cheader_filename = "dconf.h")]
	public static bool is_rel_dir (string str, GLib.Error* error = null);
	[CCode (cheader_filename = "dconf.h")]
	public static bool is_rel_key (string str, GLib.Error* error = null);
	[CCode (cheader_filename = "dconf.h")]
	public static bool is_rel_path (string str, GLib.Error* error = null);
	[CCode (cheader_filename = "dconf.h", cname = "dconf_is_dir")]
	public static bool verify_dir (string str) throws GLib.Error;
	[CCode (cheader_filename = "dconf.h", cname = "dconf_is_key")]
	public static bool verify_key (string str) throws GLib.Error;
	[CCode (cheader_filename = "dconf.h", cname = "dconf_is_path")]
	public static bool verify_path (string str) throws GLib.Error;
	[CCode (cheader_filename = "dconf.h", cname = "dconf_is_rel_dir")]
	public static bool verify_rel_dir (string str) throws GLib.Error;
	[CCode (cheader_filename = "dconf.h", cname = "dconf_is_rel_key")]
	public static bool verify_rel_key (string str) throws GLib.Error;
	[CCode (cheader_filename = "dconf.h", cname = "dconf_is_rel_path")]
	public static bool verify_rel_path (string str) throws GLib.Error;
}
