summaryrefslogtreecommitdiffstats
path: root/include/connection.h
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-11-16 13:01:59 -0600
committerLibravatar bigfoot547 <[email protected]>2025-11-16 13:07:20 -0600
commite6e7f4c8ad9bffd536182923c8e556ca028cec04 (patch)
tree3b5409c06ab260116a95e919f9b2c5161c8d63e3 /include/connection.h
parentadd removal test and const-qualify data (diff)
[wip] plugin stuff
Diffstat (limited to 'include/connection.h')
-rw-r--r--include/connection.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/connection.h b/include/connection.h
new file mode 100644
index 0000000..416e076
--- /dev/null
+++ b/include/connection.h
@@ -0,0 +1,15 @@
+#ifndef PTXMC_CONNECTION_H_INCLUDED
+#define PTXMC_CONNECTION_H_INCLUDED
+
+#include "pipeline.h"
+
+struct ptx_connection
+{
+ ptx_pipeline_t *cli_read, *cli_write;
+ ptx_pipeline_t *srv_read, *srv_write;
+};
+
+struct ptx_connection *ptx_connection_new(void);
+void ptx_connection_free(struct ptx_connection *conn);
+
+#endif /* include guard */