#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; }; PTX_API struct ptx_connection *ptx_connection_new(void) ATTR_WUR ATTR_MALLOC() ATTR_MALLOC((ptx_connection_free, 1)); PTX_API void ptx_connection_free(struct ptx_connection *conn); #endif /* include guard */