diff options
| author | yangwei <[email protected]> | 2024-02-28 17:14:51 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2024-02-28 19:14:21 +0800 |
| commit | 41d9fa5e80726a00c9ca3b66b7619f834dc66377 (patch) | |
| tree | c5a024517f87e49ed7966cd41f766b7fc8b87336 /include | |
| parent | dee44c13354d1c3d7c0e5e1828f5175e55790f3a (diff) | |
✨ feat(session message defer free): free delivered messags in egress stage
Diffstat (limited to 'include')
| -rw-r--r-- | include/stellar/stellar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stellar/stellar.h b/include/stellar/stellar.h index a41a159..96b5394 100644 --- a/include/stellar/stellar.h +++ b/include/stellar/stellar.h @@ -28,7 +28,7 @@ void stellar_session_plugin_dettach_current_session(struct session *sess); struct packet; -typedef void *plugin_on_packet_func(struct packet *pkt, unsigned char ip_protocol, void *plugin_env); +typedef void plugin_on_packet_func(struct packet *pkt, unsigned char ip_protocol, void *plugin_env); //return packet plugin_id int stellar_packet_plugin_register(struct stellar *st, unsigned char ip_protocol, plugin_on_packet_func on_packet, void *plugin_env); |
