aboutsummaryrefslogtreecommitdiffstats
path: root/include/connection.h
blob: 416e076af370b4c0ea097b3cd54872d201aea6c1 (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;
};

struct ptx_connection *ptx_connection_new(void);
void ptx_connection_free(struct ptx_connection *conn);

#endif /* include guard */