summaryrefslogtreecommitdiffstats
path: root/common/trans.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/trans.h')
-rw-r--r--common/trans.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/trans.h b/common/trans.h
index 4df515da..8abb8afd 100644
--- a/common/trans.h
+++ b/common/trans.h
@@ -37,7 +37,7 @@ typedef int (*ttrans_conn_in)(struct trans* self, struct trans* new_self);
struct trans
{
tbus sck;
- int mode; /* tcp, shared memory, pipes */
+ int mode; /* 1 tcp, 2 unix socket */
int status;
int type1; /* 1 listener 2 server 3 client */
ttrans_data_in trans_data_in;
@@ -46,6 +46,7 @@ struct trans
int header_size;
struct stream* in_s;
struct stream* out_s;
+ char* listen_filename;
};
struct trans* APP_CC