summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-11-19 18:35:40 +0800
committerluwenpeng <[email protected]>2024-11-19 18:54:04 +0800
commitb76949b0e4820d4136ad86cdf342964fc879ab60 (patch)
tree9dc6ed4923d137f1b0acc54341119e5e9f9fe9fb /include
parentc2e9275a9e56f7d0567fc2512d5cab67932d39da (diff)
export symbol session_manager_lookup_session_by_packet/id()
Diffstat (limited to 'include')
-rw-r--r--include/stellar/session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stellar/session.h b/include/stellar/session.h
index a5dae67..5ada791 100644
--- a/include/stellar/session.h
+++ b/include/stellar/session.h
@@ -150,6 +150,8 @@ void *session_get_exdata(const struct session *sess, int idx);
struct session_manager;
struct session_manager *module_to_session_manager(struct module *mod);
int session_manager_new_session_exdata_index(struct session_manager *sess_mgr, const char *name, exdata_free *func, void *arg);
+struct session *session_manager_lookup_session_by_packet(struct session_manager *sess_mgr, uint16_t thread_id, const struct packet *pkt);
+struct session *session_manager_lookup_session_by_id(struct session_manager *sess_mgr, uint16_t thread_id, uint64_t sess_id);
struct session *packet_exdata_to_session(struct packet *pkt);