syslog: syslog_device ops are handled internally by the driver.

This commit is contained in:
Fotis Panagiotopoulos
2021-04-07 17:35:18 +03:00
committed by Xiang Xiao
parent 4ca34ac5b5
commit ee7276e7a7
10 changed files with 190 additions and 415 deletions
-2
View File
@@ -101,9 +101,7 @@ struct syslog_channel_ops_s
syslog_putc_t sc_putc; /* Normal buffered output */
syslog_putc_t sc_force; /* Low-level output for interrupt handlers */
syslog_flush_t sc_flush; /* Flush buffered output (on crash) */
#ifdef CONFIG_SYSLOG_WRITE
syslog_write_t sc_write; /* Write multiple bytes */
#endif
};
/* This structure provides the interface to a SYSLOG channel */