Merge branch 'feature-decrypt-mirroring' of git.mesalab.cn:tango/tfe into feature-decrypt-mirroring

# Conflicts:
#	plugin/business/decrypt-mirroring/include/internal/mirror_stream.h
#	plugin/business/decrypt-mirroring/include/internal/mirror_stream_inl.h
#	plugin/business/decrypt-mirroring/src/decrypt_mirror_plugin.cpp
#	plugin/business/decrypt-mirroring/src/mirror_stream.cpp
This commit is contained in:
zhengchao
2018-09-04 11:38:25 +08:00

View File

@@ -0,0 +1,15 @@
#pragma once
#include <tfe_stream.h>
int decrypt_mirror_init(void *proxy);
enum tfe_stream_action decrypt_mirror_on_open_cb(const struct tfe_stream * stream, unsigned int thread_id,
enum tfe_conn_dir dir, const unsigned char * data, size_t len, void ** pme);
enum tfe_stream_action decrypt_mirror_on_data_cb(const struct tfe_stream * stream, unsigned int thread_id,
enum tfe_conn_dir dir, const unsigned char * data, size_t len, void ** pme);
void decrypt_mirror_on_close_cb(const struct tfe_stream * stream, unsigned int thread_id,
enum tfe_stream_close_reason reason, void ** pme);
void decrypt_mirror_deinit(void);