|
|
@ -29,6 +29,7 @@ |
|
|
#include "trio.h" |
|
|
#include "trio.h" |
|
|
|
|
|
|
|
|
#include "tr/comm_end_point.h" |
|
|
#include "tr/comm_end_point.h" |
|
|
|
|
|
#include "tr/protocol.h" |
|
|
#include "tr/interface/comm_end_point.h" |
|
|
#include "tr/interface/comm_end_point.h" |
|
|
|
|
|
|
|
|
static |
|
|
static |
|
|
@ -38,7 +39,7 @@ commEndPointCtor(void * _this, va_list * params) |
|
|
TR_CommEndPoint this = _this; |
|
|
TR_CommEndPoint this = _this; |
|
|
|
|
|
|
|
|
this->transport = va_arg(*params, TR_Socket); |
|
|
this->transport = va_arg(*params, TR_Socket); |
|
|
this->protocol = va_arg(*params, void *); |
|
|
|
|
|
|
|
|
this->protocol = va_arg(*params, TR_Protocol); |
|
|
this->read_chunk_size = va_arg(*params, int); |
|
|
this->read_chunk_size = va_arg(*params, int); |
|
|
this->do_close = 0; |
|
|
this->do_close = 0; |
|
|
this->read_buffer = TR_new(TR_Queue); |
|
|
this->read_buffer = TR_new(TR_Queue); |
|
|
|