blob: dd2ef3021db2f708f91fe1f7f49d193ede4f61f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#include <stddef.h>
#include "sdk/include/session.h"
#include "session_manager.h"
struct session_manager
{
int thread_num;
uint32_t tcp_timeout_s;
uint32_t tcp_table_max_size;
uint32_t tcp_reordered_num;
uint32_t udp_timeout_s;
uint32_t udp_table_max_size;
struct stellar_session **tcp_table;
struct stellar_session **udp_table;
};
void session_close(const struct stellar_session *session)
{
}
struct stellar_session *session_derive(const struct stellar_session *this_session, const char *session_name)
{
return nullptr;
}
struct session_manager *session_manager_create(int thread_num)
{
return nullptr;
}
void session_manager_destroy(struct session_manager *instance)
{
}
struct stellar_session *session_manager_commit(struct session_manager *instance, struct stellar_packet *pkt, int thread_id)
{
return nullptr;
}
struct stellar_session *session_manager_fetch_session(struct session_manager *instance, struct stellar_session *session, int thread_id)
{
return nullptr;
}
|