diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-08-28 14:45:24 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-08-28 15:22:06 +0200 |
commit | 3eb8d783692abe3d06f884730b70bb4bb2df6187 (patch) | |
tree | 78eca4a26bec6a7528a29cd1fa75daab5b35958b /cpukit/include/rtems/record.h | |
parent | record: Use BSS section instead of per-CPU data (diff) | |
download | rtems-3eb8d783692abe3d06f884730b70bb4bb2df6187.tar.bz2 |
record: Introduce <rtems/recordserver.h>
This helps to get rid of the <rtems/rtems/tasks.h> dependency in
<rtems/record.h>.
Update #3665.
Diffstat (limited to '')
-rw-r--r-- | cpukit/include/rtems/record.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/cpukit/include/rtems/record.h b/cpukit/include/rtems/record.h index 1f83b2995d..ff1ee22b0d 100644 --- a/cpukit/include/rtems/record.h +++ b/cpukit/include/rtems/record.h @@ -35,7 +35,6 @@ #include <rtems/score/percpu.h> #include <rtems/score/watchdog.h> #include <rtems/rtems/intr.h> -#include <rtems/rtems/tasks.h> #include <rtems/counter.h> #ifdef __cplusplus @@ -291,39 +290,6 @@ typedef void ( *rtems_record_drain_visitor )( */ void rtems_record_drain( rtems_record_drain_visitor visitor, void *arg ); -/** - * @brief Drains the record items on all processors an writes them to the file - * descriptor. - * - * @param fd The file descriptor. - * @param written Set to true if items were written to the file descriptor, - * otherwise set to false. - * - * @retval The bytes written to the file descriptor. - */ -ssize_t rtems_record_writev( int fd, bool *written ); - -/** - * @brief Runs a record TCP server loop. - * - * @param port The TCP port to listen in host byte order. - * @param period The drain period in clock ticks. - */ -void rtems_record_server( uint16_t port, rtems_interval period ); - -/** - * @brief Starts a record TCP server task. - * - * @param priority The task priority. - * @param port The TCP port to listen in host byte order. - * @param period The drain period in clock ticks. - */ -rtems_status_code rtems_record_start_server( - rtems_task_priority priority, - uint16_t port, - rtems_interval period -); - /** @} */ #ifdef __cplusplus |