Lines Matching refs:backend
78 log_backend_t *backend; member
171 log_backend_t *backend = s_logContext.backend; in log_output_low_level() local
173 while (NULL != backend) in log_output_low_level()
175 if (NULL != backend->putStr) in log_output_low_level()
177 backend->putStr(buffer, length); in log_output_low_level()
179 backend = backend->next; in log_output_low_level()
581 log_status_t LOG_BackendRegister(log_backend_t *backend) in LOG_BackendRegister() argument
583 log_backend_t *p = s_logContext.backend; in LOG_BackendRegister()
587 assert(NULL != backend); in LOG_BackendRegister()
597 if (p == backend) in LOG_BackendRegister()
605 backend->next = s_logContext.backend; in LOG_BackendRegister()
606 s_logContext.backend = backend; in LOG_BackendRegister()
613 log_status_t LOG_BackendUnregister(log_backend_t *backend) in LOG_BackendUnregister() argument
615 log_backend_t *p = s_logContext.backend; in LOG_BackendUnregister()
616 log_backend_t *q = s_logContext.backend; in LOG_BackendUnregister()
620 assert(NULL != backend); in LOG_BackendUnregister()
630 if (p == backend) in LOG_BackendUnregister()
634 s_logContext.backend = p->next; in LOG_BackendUnregister()