blob: 98f0eca4e762e28bb83934f6be345369b66db979 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
};
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 */
|