aboutsummaryrefslogtreecommitdiff
path: root/src/shared/pipes.h
diff options
context:
space:
mode:
authorLexxy Fox <lexxyfox@gmail.com>2023-09-26 13:30:14 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2023-10-03 16:43:39 -0500
commitcf9286d2d84f7aef237ec0d363c692ef5035aa85 (patch)
tree7827b9bf3f477c3de0d5f225acc0818d020f0c57 /src/shared/pipes.h
parent9934e9f96ea91995dfab382bf05b47d43c1ac4f9 (diff)
Relocate pipes.c and pipes.h file to shared directory.
With the addition of logger process redirect in supervise-daemon, pipes.c and pipes.h are now included in both s-s-d and supervise-daemon. Thus it makes sense to move the source files to the src/shared dir.
Diffstat (limited to 'src/shared/pipes.h')
-rw-r--r--src/shared/pipes.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/shared/pipes.h b/src/shared/pipes.h
new file mode 100644
index 00000000..861963b7
--- /dev/null
+++ b/src/shared/pipes.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2018 The OpenRC Authors.
+ * See the Authors file at the top-level directory of this distribution and
+ * https://github.com/OpenRC/openrc/blob/HEAD/AUTHORS
+ *
+ * This file is part of OpenRC. It is subject to the license terms in
+ * the LICENSE file found in the top-level directory of this
+ * distribution and at https://github.com/OpenRC/openrc/blob/HEAD/LICENSE
+ * This file may not be copied, modified, propagated, or distributed
+ * except according to the terms contained in the LICENSE file.
+ */
+
+#ifndef RC_PIPES_H
+#define RC_PIPES_H
+
+int rc_pipe_command(char *cmd);
+
+#endif