diff options
| author | 2025-11-14 22:13:45 -0600 | |
|---|---|---|
| committer | 2025-11-15 00:21:37 -0600 | |
| commit | 635b33df0f7d567626fab4f1acaa91e5609e92ca (patch) | |
| tree | 981e50865b73732a9ea34a4e35d8229be6db5489 /connection.h | |
| parent | initial commit (diff) | |
update some stuff
Diffstat (limited to 'connection.h')
| -rw-r--r-- | connection.h | 15 |
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 */ |
