MySQL 8.4.2
Source Code Documentation
|
Classes | |
class | NotifyGlobals |
Class wrapping the "globals" as static members so that they can only be accessed from the friend-declared notify functions. More... | |
Functions | |
void | notify_connect () |
Looks for the name of the socket file in the environment variable NOTIFY_SOCKET. More... | |
void | notify () |
Recursion terminator overload for varargs template function. More... | |
template<typename T , typename... Ts> | |
void | notify (T t, Ts... ts) |
Takes a variable number of arguments of different type and formats them on NotifyGlobals::fmt, and sends result to notification socket. More... | |
void sysd::notify | ( | ) |
Recursion terminator overload for varargs template function.
Creates a string from the current content of NotifyGlobals::fmt and sends string to notification socket.
|
inline |
Takes a variable number of arguments of different type and formats them on NotifyGlobals::fmt, and sends result to notification socket.
t | current argument to format |
ts | remaining args parameter pack for recursive call |
void sysd::notify_connect | ( | ) |
Looks for the name of the socket file in the environment variable NOTIFY_SOCKET.
Connects NotifyGlobals::socket to it if present.