MCPcopy Create free account
hub / github.com/acl-dev/acl / enable_open

Method enable_open

lib_acl_cpp/src/stream/aio_socket_stream.cpp:257–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257void aio_socket_stream::enable_open()
258{
259 acl_assert(stream_);
260
261 if ((status_ & STATUS_HOOKED_OPEN)) {
262 return;
263 }
264 status_ |= STATUS_HOOKED_OPEN;
265
266 acl_aio_ctl(stream_,
267 ACL_AIO_CTL_CONNECT_HOOK_ADD, open_callback, this,
268 ACL_AIO_CTL_END);
269}
270
271int aio_socket_stream::open_callback(ACL_ASTREAM* stream acl_unused, void* ctx)
272{

Callers 1

openMethod · 0.80

Calls 1

acl_aio_ctlFunction · 0.85

Tested by

no test coverage detected