增加HTTP业务层、解析层Suspend接口定义。
This commit is contained in:
@@ -85,6 +85,8 @@ typedef void stream_close_cb_t(const struct tfe_stream* stream, unsigned int th
|
||||
|
||||
void tfe_stream_detach(const struct tfe_stream* stream);
|
||||
int tfe_stream_preempt(const struct tfe_stream* stream);
|
||||
struct promise * tfe_stream_suspend(const struct tfe_stream * stream);
|
||||
void tfe_stream_resume(struct promisc * promisc);
|
||||
|
||||
int stream_shutdown(const struct tfe_stream* stream);//close both sides of the stream.
|
||||
int stream_shutdown_dir(const struct tfe_stream* stream, enum tfe_conn_dir dir);
|
||||
|
||||
Reference in New Issue
Block a user