From 635b33df0f7d567626fab4f1acaa91e5609e92ca Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Fri, 14 Nov 2025 22:13:45 -0600 Subject: update some stuff --- connection.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 connection.h (limited to 'connection.h') 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 */ -- cgit v1.2.3-70-g09d2