/usr/share/vala/vapi/fsosystem-2.0.vapi is in libfsosystem-dev 0.1.0~git20110602-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 | /* fsosystem-2.0.vapi generated by valac 0.12.1, do not modify. */
[CCode (cprefix = "FsoFramework", lower_case_cprefix = "fso_framework_")]
namespace FsoFramework {
[CCode (cprefix = "FsoFrameworkFileSystem", lower_case_cprefix = "fso_framework_file_system_")]
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 (cprefix = "FsoFrameworkKernel", lower_case_cprefix = "fso_framework_kernel_")]
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;
}
[CCode (cprefix = "FsoFrameworkNetwork", lower_case_cprefix = "fso_framework_network_")]
namespace Network {
[CCode (ref_function = "fso_framework_network_interface_ref", unref_function = "fso_framework_network_interface_unref", cheader_filename = "fsosystem.h")]
public class Interface {
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;
}
[CCode (cprefix = "FSO_FRAMEWORK_NETWORK_ERROR_", cheader_filename = "fsosystem.h")]
public errordomain Error {
INTERNAL_ERROR,
}
}
}
[CCode (cprefix = "SYSTEM_ERROR_", cheader_filename = "fsosystem.h")]
public errordomain SystemError {
ERROR,
}
|