diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2014-04-20 20:24:05 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2014-04-20 20:24:05 -0700 |
commit | 148c1f858c30a55d3aae32120992a76d9eada79a (patch) | |
tree | 52a026d64e3dba3761c97b0f83eb21df808019a5 /common | |
parent | 1934c9ea00cb4cb35a2561273c8df8339c8023a1 (diff) | |
download | xrdp-proprietary-148c1f858c30a55d3aae32120992a76d9eada79a.tar.gz xrdp-proprietary-148c1f858c30a55d3aae32120992a76d9eada79a.zip |
common: indent, no logic change to trans.h
Diffstat (limited to 'common')
-rw-r--r-- | common/trans.h | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/common/trans.h b/common/trans.h index 33b57aac..4a8b249c 100644 --- a/common/trans.h +++ b/common/trans.h @@ -36,29 +36,30 @@ struct trans; /* forward declaration */ -typedef int (*ttrans_data_in)(struct trans* self); -typedef int (*ttrans_conn_in)(struct trans* self, struct trans* new_self); -typedef int (*tis_term)(void); +typedef int (DEFAULT_CC *ttrans_data_in)(struct trans* self); +typedef int (DEFAULT_CC *ttrans_conn_in)(struct trans* self, + struct trans* new_self); +typedef int (DEFAULT_CC *tis_term)(void); struct trans { - tbus sck; /* socket handle */ - int mode; /* 1 tcp, 2 unix socket */ - int status; - int type1; /* 1 listener 2 server 3 client */ - ttrans_data_in trans_data_in; - ttrans_conn_in trans_conn_in; - void* callback_data; - int header_size; - struct stream* in_s; - struct stream* out_s; - char* listen_filename; - tis_term is_term; /* used to test for exit */ - struct stream* wait_s; - char addr[256]; - char port[256]; - int no_stream_init_on_data_in; - int extra_flags; /* user defined */ + tbus sck; /* socket handle */ + int mode; /* 1 tcp, 2 unix socket */ + int status; + int type1; /* 1 listener 2 server 3 client */ + ttrans_data_in trans_data_in; + ttrans_conn_in trans_conn_in; + void* callback_data; + int header_size; + struct stream* in_s; + struct stream* out_s; + char* listen_filename; + tis_term is_term; /* used to test for exit */ + struct stream* wait_s; + char addr[256]; + char port[256]; + int no_stream_init_on_data_in; + int extra_flags; /* user defined */ }; struct trans* APP_CC |