|
@@ -1,19 +1,20 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2006-2021, RT-Thread Development Team
|
|
|
+ * Copyright (c) 2006-2022, RT-Thread Development Team
|
|
|
*
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
*
|
|
|
* Change Logs:
|
|
|
* Date Author Notes
|
|
|
*/
|
|
|
+
|
|
|
#ifndef PIPE_H__
|
|
|
#define PIPE_H__
|
|
|
|
|
|
+#include <rtthread.h>
|
|
|
+
|
|
|
/**
|
|
|
* Pipe Device
|
|
|
*/
|
|
|
-#include <rtthread.h>
|
|
|
-#include <rtdevice.h>
|
|
|
|
|
|
struct rt_pipe_device
|
|
|
{
|
|
@@ -36,4 +37,5 @@ typedef struct rt_pipe_device rt_pipe_t;
|
|
|
|
|
|
rt_pipe_t *rt_pipe_create(const char *name, int bufsz);
|
|
|
int rt_pipe_delete(const char *name);
|
|
|
+
|
|
|
#endif /* PIPE_H__ */
|