SYSLOG channel add functions return handle to the channel.

This commit is contained in:
Fotis Panagiotopoulos
2021-06-03 13:24:49 +03:00
committed by Xiang Xiao
parent 038941b11d
commit e189d83e11
9 changed files with 47 additions and 39 deletions
+2 -3
View File
@@ -233,13 +233,12 @@ int syslog_initialize(void);
* file.
*
* Returned Value:
* Zero (OK) is returned on success; a negated errno value is returned on
* any failure.
* A pointer to the new SYSLOG channel; NULL is returned on any failure.
*
****************************************************************************/
#ifdef CONFIG_SYSLOG_FILE
int syslog_file_channel(FAR const char *devpath);
FAR struct syslog_channel_s *syslog_file_channel(FAR const char *devpath);
#endif
/****************************************************************************