增加HTTP业务层、解析层Suspend接口定义。

This commit is contained in:
Lu
2018-08-20 15:46:35 +08:00
parent 86c18a15c3
commit 64d6022fa7
4 changed files with 50 additions and 10 deletions

View File

@@ -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);