Flow-IPC 1.0.0
Flow-IPC project: Full implementation reference.
|
#include "ipc/session/app.hpp"
#include "ipc/session/session_fwd.hpp"
#include "ipc/session/error.hpp"
#include "ipc/util/native_handle.hpp"
#include <flow/error/error.hpp>
#include <sys/stat.h>
Go to the source code of this file.
Namespaces | |
namespace | ipc |
Catch-all namespace for the Flow-IPC project: A library/API in modern C++17 providing high-performance communication between processes. | |
namespace | ipc::session |
Flow-IPC module providing the broad lifecycle and shared-resource organization – via the session concept – in such a way as to make it possible for a given pair of processes A and B to set up ipc::transport structured- or unstructured-message channels for general IPC, as well as to share data in SHared Memory (SHM). | |
Functions | |
void | ipc::session::ensure_resource_owner_is_app (flow::log::Logger *logger_ptr, const fs::path &path, const App &app, Error_code *err_code=0) |
Utility, used internally but exposed in public API in case it is of general use, that checks that the owner of the given resource (at the supplied file system path) is as specified in the given App (App::m_user_id et al). More... | |
void | ipc::session::ensure_resource_owner_is_app (flow::log::Logger *logger_ptr, util::Native_handle handle, const App &app, Error_code *err_code=0) |
Identical to the other ensure_resource_owner_is_app() overload but operates on a pre-opened Native_handle (a/k/a handle, socket, file descriptor) to the resource in question. More... | |
std::ostream & | ipc::session::operator<< (std::ostream &os, const App &val) |
Prints string representation of the given App to the given ostream . More... | |
std::ostream & | ipc::session::operator<< (std::ostream &os, const Client_app &val) |
Prints string representation of the given Client_appp to the given ostream . More... | |
std::ostream & | ipc::session::operator<< (std::ostream &os, const Server_app &val) |
Prints string representation of the given Server_app to the given ostream . More... | |