summaryrefslogtreecommitdiffstats
path: root/connection.h
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-11-14 22:13:45 -0600
committerLibravatar bigfoot547 <[email protected]>2025-11-15 00:21:37 -0600
commit635b33df0f7d567626fab4f1acaa91e5609e92ca (patch)
tree981e50865b73732a9ea34a4e35d8229be6db5489 /connection.h
parentinitial commit (diff)
update some stuff
Diffstat (limited to 'connection.h')
-rw-r--r--connection.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/connection.h b/connection.h
new file mode 100644
index 0000000..416e076
--- /dev/null
+++ b/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 */