mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 01:26:56 +08:00
Added support for multiple syslog channels.
This commit is contained in:
committed by
Xiang Xiao
parent
dc31b4f1c1
commit
f13adbe4bb
@@ -131,13 +131,31 @@ extern "C"
|
||||
* channel - Provides the interface to the channel to be used.
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero (OK)is returned on success. A negated errno value is returned
|
||||
* Zero (OK) is returned on success. A negated errno value is returned
|
||||
* on any failure.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int syslog_channel(FAR const struct syslog_channel_s *channel);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: syslog_channel_remove
|
||||
*
|
||||
* Description:
|
||||
* Removes an already configured SYSLOG channel from the list of used
|
||||
* channels.
|
||||
*
|
||||
* Input Parameters:
|
||||
* channel - Provides the interface to the channel to be removed.
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero (OK) is returned on success. A negated errno value is returned
|
||||
* on any failure.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int syslog_channel_remove(FAR const struct syslog_channel_s *channel);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: syslog_initialize
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user