/usr/share/vala/vapi/fsosystem-2.0.vapi is in libfsoframework-dev 0.12.0-4.
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 | /* fsosystem-2.0.vapi generated by valac 0.20.1, do not modify. */
namespace FsoFramework {
namespace FileSystem {
[CCode (cheader_filename = "fsosystem.h")]
public class Path : GLib.Object {
public Path (string path);
public bool is_absolute ();
public bool is_mount_point ();
public string path { get; private set; }
}
[CCode (cheader_filename = "fsosystem.h")]
public static bool createDirectory (string filename, Posix.mode_t mode);
[CCode (cheader_filename = "fsosystem.h")]
public static bool isPresent (string filename);
[CCode (cheader_filename = "fsosystem.h")]
public static bool mountFilesystem (string source, string target, string type, Linux.MountFlags flags);
[CCode (cheader_filename = "fsosystem.h")]
public static bool mountFilesystemAt (Posix.mode_t mode, string source, string target, string type, Linux.MountFlags flags);
[CCode (cheader_filename = "fsosystem.h")]
public static void write (string contents, string filename, bool create = false);
}
namespace Kernel {
[CCode (cheader_filename = "fsosystem.h")]
public static void insertModule (string filename, string? options = null) throws GLib.Error;
[CCode (cheader_filename = "fsosystem.h")]
public static void probeModule (string modulename, string? options = null);
[CCode (cheader_filename = "fsosystem.h")]
public static void removeModule (string filename, bool wait = false, bool force = false) throws GLib.Error;
}
namespace Network {
[CCode (cheader_filename = "fsosystem.h")]
public class Interface {
protected int fd;
protected int index;
protected string name;
public Interface (string name) throws FsoFramework.Network.Error;
public void down () throws FsoFramework.Network.Error;
public void finish ();
public bool is_up () throws FsoFramework.Network.Error;
public void up () throws FsoFramework.Network.Error;
}
[CCode (cheader_filename = "fsosystem.h")]
public class WextInterface : FsoFramework.Network.Interface {
public WextInterface (string name) throws FsoFramework.Network.Error;
public void set_power (bool on) throws FsoFramework.Network.Error;
}
[CCode (cheader_filename = "fsosystem.h")]
public errordomain Error {
INTERNAL_ERROR
}
}
[CCode (cheader_filename = "fsosystem.h")]
public class Wakelock : GLib.Object {
public Wakelock (string name);
public void acquire ();
public void release ();
public bool acquired { get; private set; }
public string name { get; private set; }
}
}
[CCode (cheader_filename = "fsosystem.h")]
public errordomain SystemError {
ERROR
}
|