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

Function acl_msg_register

lib_acl/src/stdlib/acl_msg.c:43–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41static void *__msg_ctx = NULL;
42
43void acl_msg_register(ACL_MSG_OPEN_FN open_fn, ACL_MSG_CLOSE_FN close_fn,
44 ACL_MSG_WRITE_FN write_fn, void *ctx)
45{
46 if (open_fn == NULL || write_fn == NULL)
47 return;
48
49 __open_fn = open_fn;
50 __close_fn = close_fn;
51 __write_fn = write_fn;
52 __msg_ctx = ctx;
53}
54
55void acl_msg_unregister(void)
56{

Callers 14

log_openFunction · 0.85
log_openFunction · 0.85
logger_hookFunction · 0.85
app_set_libcore_logFunction · 0.85
app_set_libcore_logFunction · 0.85
app_set_libcore_logFunction · 0.85
elib_logger_setFunction · 0.85
thread_logger_setFunction · 0.85
buffed_logger_setFunction · 0.85
default_logger_setFunction · 0.85
init_onceFunction · 0.85
init_onceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…