MCPcopy Create free account
hub / github.com/3rdparty/libprocess / setCallbacks

Function setCallbacks

src/process.cpp:589–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

587namespace authorization {
588
589void setCallbacks(const AuthorizationCallbacks& callbacks)
590{
591 synchronized (authorization_callbacks_mutex) {
592 if (authorization_callbacks.load() != nullptr) {
593 delete authorization_callbacks.load();
594 }
595
596 authorization_callbacks.store(new AuthorizationCallbacks(callbacks));
597 }
598}
599
600
601void unsetCallbacks()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected