diff --git a/plugin/business/decrypt-mirroring/include/external/decrypt_mirror_plugin.h b/plugin/business/decrypt-mirroring/include/external/decrypt_mirror_plugin.h new file mode 100644 index 0000000..73d9e21 --- /dev/null +++ b/plugin/business/decrypt-mirroring/include/external/decrypt_mirror_plugin.h @@ -0,0 +1,15 @@ +#pragma once +#include + +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); +