diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-09-23 12:16:52 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-09-23 12:16:52 -0700 |
commit | dfd78c722b738e8db4c096393b6ecf0e26435f40 (patch) | |
tree | a2d38654b84ead032388820b2d9fc9810d7c5cf6 /common/trans.h | |
parent | db71bc5d8b7841dee476bee228eadf009cec710f (diff) | |
download | xrdp-proprietary-dfd78c722b738e8db4c096393b6ecf0e26435f40.tar.gz xrdp-proprietary-dfd78c722b738e8db4c096393b6ecf0e26435f40.zip |
chansrv: fix for deadlock
Diffstat (limited to 'common/trans.h')
-rw-r--r-- | common/trans.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/trans.h b/common/trans.h index 4b8e3b42..d9ad6c19 100644 --- a/common/trans.h +++ b/common/trans.h @@ -54,6 +54,7 @@ struct trans struct stream* out_s; char* listen_filename; tis_term is_term; /* used to test for exit */ + int in_write; }; struct trans* APP_CC @@ -73,6 +74,8 @@ trans_force_read(struct trans* self, int size); int APP_CC trans_force_write(struct trans* self); int APP_CC +trans_write_check(struct trans* self, int timeout); +int APP_CC trans_connect(struct trans* self, const char* server, const char* port, int timeout); int APP_CC |