summaryrefslogtreecommitdiffstats
path: root/connection.h
diff options
context:
space:
mode:
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 */