9 lines
352 B
C
9 lines
352 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <platform.h>
|
||
|
|
|
||
|
|
struct tfe_stream * tfe_stream_create(struct tfe_proxy * pxy, struct tfe_thread_ctx * thread_ctx);
|
||
|
|
void tfe_stream_init_by_fds(struct tfe_stream * stream, enum tfe_session_proto session_type,
|
||
|
|
evutil_socket_t fd_downstream, evutil_socket_t fd_upstream);
|
||
|
|
void tfe_stream_destory(struct tfe_stream_private * stream);
|