MySQL 9.1.0
Source Code Documentation
sd_notify.cc File Reference
#include "mysql/harness/sd_notify.h"
#include <unistd.h>
#include <array>
#include <cstddef>
#include <cstdlib>
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/net_ts/io_context.h"
#include "mysql/harness/net_ts/local.h"
#include "mysql/harness/net_ts/win32_named_pipe.h"
#include "mysql/harness/stdx/expected.h"

Namespaces

namespace  mysql_harness
 

Macros

#define MYSQL_ROUTER_LOG_DOMAIN    ::mysql_harness::logging::kMainLogger
 

Functions

static std::string mysql_harness::get_notify_socket_name ()
 
static stdx::expected< local::datagram_protocol::socket, std::error_code > mysql_harness::connect_to_notify_socket (net::io_context &io_ctx, const std::string &socket_name)
 
static stdx::expected< void, std::error_code > mysql_harness::notify (const std::string &msg, const std::string &socket_name)
 
static bool mysql_harness::notify (const std::string &msg)
 
bool HARNESS_EXPORT mysql_harness::notify_status (const std::string &msg)
 
bool HARNESS_EXPORT mysql_harness::notify_ready ()
 
bool HARNESS_EXPORT mysql_harness::notify_stopping ()
 

Macro Definition Documentation

◆ MYSQL_ROUTER_LOG_DOMAIN

#define MYSQL_ROUTER_LOG_DOMAIN    ::mysql_harness::logging::kMainLogger