5#ifndef WPINET_UV_GETNAMEINFO_H_
6#define WPINET_UV_GETNAMEINFO_H_
51 const sockaddr& addr,
int flags = 0);
64 const std::shared_ptr<GetNameInfoReq>& req,
65 const sockaddr& addr,
int flags = 0) {
79 std::function<
void(
const char*,
const char*)> callback,
80 const sockaddr& addr,
int flags = 0);
93 std::function<
void(
const char*,
const char*)> callback,
94 const sockaddr& addr,
int flags = 0) {
124 const std::shared_ptr<GetNameInfoReq>& req,
141 std::function<
void(
const char*,
const char*)> callback,
156 std::function<
void(
const char*,
const char*)> callback,
188 const std::shared_ptr<GetNameInfoReq>& req,
206 std::function<
void(
const char*,
const char*)> callback,
221 std::function<
void(
const char*,
const char*)> callback,
SignalBase is an implementation of the observer pattern, through the use of an emitting object and sl...
Definition: Signal.h:495
GetNameInfo request.
Definition: GetNameInfo.h:27
Loop & GetLoop() const
Definition: GetNameInfo.h:31
sig::Signal< const char *, const char * > resolved
Resolved lookup signal.
Definition: GetNameInfo.h:37
Event loop.
Definition: Loop.h:37
Request.
Definition: Request.h:130
uv_getnameinfo_t * GetRaw() noexcept
Get the underlying request data structure.
Definition: Request.h:145
basic_string_view< char > string_view
Definition: core.h:520
void GetNameInfo6(Loop &loop, const std::shared_ptr< GetNameInfoReq > &req, std::string_view ip, unsigned int port, int flags=0)
Asynchronous IPv6 getnameinfo(3).
void GetNameInfo(Loop &loop, const std::shared_ptr< GetNameInfoReq > &req, const sockaddr &addr, int flags=0)
Asynchronous getnameinfo(3).
void GetNameInfo4(Loop &loop, const std::shared_ptr< GetNameInfoReq > &req, std::string_view ip, unsigned int port, int flags=0)
Asynchronous IPv4 getnameinfo(3).
flags
Definition: http_parser.h:206
UV_REQ_FIELDS uv_loop_t * loop
Definition: uv.h:916
void * data
Definition: uv.h:1795