This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
stellar-stellar/infra/session_manager/session_manager.h

23 lines
668 B
C

#pragma once
#ifdef __cplusplus
extern "C"
{
#endif
#include "stellar/session.h"
struct session_manager;
struct session_manager *session_manager_new(struct packet_manager *pkt_mgr, const char *toml_file);
void session_manager_free(struct session_manager *sess_mgr);
int session_manager_init(struct session_manager *sess_mgr, uint16_t thread_id);
void session_manager_clean(struct session_manager *sess_mgr, uint16_t thread_id);
struct session_manager_rte *session_manager_get_rte(const struct session_manager *sess_mgr, uint16_t thread_id);
struct session_manager_cfg *session_manager_get_cfg(const struct session_manager *sess_mgr);
#ifdef __cplusplus
}
#endif