|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Go to the source code of this file.
Classes | |
| struct | MayaFlux::Platform::UnixSocket |
| A socket path that is safe to bind. More... | |
| struct | MayaFlux::Platform::UnixSocketFromName |
| A Unix socket given by file name, placed in the user's runtime directory. More... | |
| struct | MayaFlux::Platform::UnixSocketFromPath |
| A Unix socket at an explicit file path, absolute or relative to the working directory. More... | |
Namespaces | |
| namespace | MayaFlux |
| Main namespace for the Maya Flux audio engine. | |
| namespace | MayaFlux::Platform |
| namespace | MayaFlux::Platform::detail |
Typedefs | |
| using | MayaFlux::Platform::UnixSocketSource = std::variant<UnixSocketFromPath, UnixSocketFromName> |
Functions | |
| template<std::predicate< const std::filesystem::path & > Probe> | |
| Acquired< UnixSocket > | MayaFlux::Platform::acquire_unix_socket (const UnixSocketSource &source, Probe &&is_alive) |
| Check that a Unix socket path can be bound, removing a stale socket file. | |
| bool | MayaFlux::Platform::detail::entry_is_socket (const std::filesystem::file_status &status, const std::filesystem::path &path) |
| bool | MayaFlux::Platform::is_unix_socket (const std::filesystem::path &path) |
| Whether a path holds a Unix socket file, without following a symbolic link. | |
| std::vector< std::filesystem::path > | MayaFlux::Platform::list_unix_sockets () |
| The Unix sockets that sit in the user's runtime directories, sorted by path. | |
| Acquired< std::filesystem::path > | MayaFlux::Platform::detail::resolve_socket_path (const UnixSocketSource &source) |
| Acquired< std::filesystem::path > | MayaFlux::Platform::resolve_unix_socket_path (const UnixSocketSource &source) |
| Resolve a Unix socket request to a path, for a client that connects to an existing socket. | |
| Acquired< void > | MayaFlux::Platform::restrict_unix_socket_to_owner (const std::filesystem::path &path) |
| Make a bound socket file usable by its owner only. | |
| std::vector< std::filesystem::path > | MayaFlux::Platform::runtime_directory_candidates () |
| Per-user directories a Unix socket may live in, in the order tried. | |
| bool | MayaFlux::Platform::detail::socket_directory_is_safe (const std::filesystem::path &directory) |
Variables | |
| constexpr std::string_view | MayaFlux::Platform::default_unix_socket_name = "mayaflux-lila.sock" |
| constexpr size_t | MayaFlux::Platform::unix_socket_path_limit = 107 |