rename packet_io_loop to stellar_event_base_loop

This commit is contained in:
yangwei
2022-07-20 20:20:31 +08:00
parent da47b80442
commit 6f558132a1
23 changed files with 160 additions and 118 deletions

View File

@@ -2,42 +2,29 @@
struct session_manager
{
struct session **tcp_table, **udp_table;
struct stellar_session **tcp_table, **udp_table;
};
void session_manager_session_event_register(fn_session_event_callback decoder, session_type type)
void session_manager_trigger_event(struct stellar_session *s,
stellar_session_event_type type,
struct stellar_session_event_extras *info)
{
return;
}
struct session *session_manager_custom_session_derive(const struct session *cur_session, struct custom_session_event *event)
struct stellar_session *session_manager_session_derive(const struct stellar_session *this_session,
const char *new_session_name)
{
return nullptr;
}
void session_manager_trigger_event(struct session *s, session_event_type event, void *event_info)
{
return;
}
struct session_event *session_manager_commit(struct packet *p)
struct stellar_event *session_manager_commit(struct stellar_packet *p)
{
return nullptr;
};
struct custom_session_event *session_manager_custom_session_event_register(const char *event_name, int available_event)
{
return nullptr;
}
struct session *session_manager_session_derive(const struct session *cur_session, session_type type)
{
return nullptr;
}
struct session_event *session_manager_fetch_event()
struct stellar_event *session_manager_fetch_event()
{
return nullptr;
}