/usr/include/gsecuredelete/gsecuredelete.vapi is in libgsecuredelete-dev 0.2.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 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 | /* gsecuredelete.vapi generated by valac 0.20.1, do not modify. */
namespace Gsd {
namespace FD {
}
[CCode (cheader_filename = "gsecuredelete.h")]
public abstract class AsyncOperation : GLib.Object {
protected int fd_err;
protected int fd_in;
protected int fd_out;
protected uint n_passes;
protected uint passes;
protected GLib.Pid pid;
public AsyncOperation ();
protected abstract GLib.List<string> build_args () throws Gsd.AsyncOperationError;
protected virtual string?[]? build_env ();
public bool cancel ();
protected virtual void cleanup ();
protected virtual uint get_max_progress ();
protected virtual uint get_progress ();
protected virtual string? get_subprocess_error_msg ();
public bool run (string? working_directory = null, GLib.SpawnFlags spawn_flags = 0) throws GLib.SpawnError, Gsd.AsyncOperationError;
public bool run_sync (string? working_directory = null, GLib.SpawnFlags spawn_flags = 0, out string standard_output = null) throws GLib.SpawnError, Gsd.AsyncOperationError;
public bool busy { get; }
public string path { get; set; }
public signal void finished (bool success, string? message);
public signal void progress (double fraction);
}
[CCode (cheader_filename = "gsecuredelete.h")]
public class DeleteOperation : Gsd.ZeroableOperation {
public DeleteOperation ();
public void add_path (string path);
protected override GLib.List<string> build_args () throws Gsd.AsyncOperationError;
protected override void cleanup ();
protected override uint get_max_progress ();
protected override string? get_subprocess_error_msg ();
public void remove_path (string path);
public GLib.List<string> paths { get; }
}
[CCode (cheader_filename = "gsecuredelete.h")]
public class FillOperation : Gsd.ZeroableOperation {
public enum WipeMode {
FULL,
INODES,
DATA
}
public FillOperation ();
protected override GLib.List<string> build_args () throws Gsd.AsyncOperationError;
protected override void cleanup ();
public new bool run (string? directory = null) throws GLib.SpawnError, Gsd.AsyncOperationError;
public new bool run_sync (string? directory = null) throws GLib.SpawnError, Gsd.AsyncOperationError;
public string directory { get; set; }
public Gsd.FillOperation.WipeMode wipe_mode { get; set; }
}
[CCode (cheader_filename = "gsecuredelete.h")]
public class MemOperation : Gsd.SecureDeleteOperation {
public MemOperation ();
}
[CCode (cheader_filename = "gsecuredelete.h")]
public abstract class SecureDeleteOperation : Gsd.AsyncOperation {
public enum Mode {
NORMAL,
INSECURE,
VERY_INSECURE
}
public SecureDeleteOperation ();
protected override GLib.List<string> build_args () throws Gsd.AsyncOperationError;
protected override uint get_max_progress ();
protected override uint get_progress ();
public new bool run () throws GLib.SpawnError, Gsd.AsyncOperationError;
public new bool run_sync () throws GLib.SpawnError, Gsd.AsyncOperationError;
public bool fast { get; set; }
public Gsd.SecureDeleteOperation.Mode mode { get; set; }
}
[CCode (cheader_filename = "gsecuredelete.h")]
public class SwapOperation : Gsd.ZeroableOperation {
public SwapOperation ();
protected override GLib.List<string> build_args () throws Gsd.AsyncOperationError;
protected override void cleanup ();
public new bool run (string? device = null) throws GLib.SpawnError, Gsd.AsyncOperationError;
public new bool run_sync (string? device = null) throws GLib.SpawnError, Gsd.AsyncOperationError;
public bool check_device { get; set; }
public string device { get; set; }
}
[CCode (cheader_filename = "gsecuredelete.h")]
public abstract class ZeroableOperation : Gsd.SecureDeleteOperation {
public ZeroableOperation ();
protected override GLib.List<string> build_args () throws Gsd.AsyncOperationError;
public bool zeroise { get; set; }
}
[CCode (cheader_filename = "gsecuredelete.h")]
public errordomain AsyncOperationError {
CHILD_FAILED,
SUBCLASS_ERROR
}
}
|