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

18
sdk/include/event.h Normal file
View File

@@ -0,0 +1,18 @@
enum stellar_event_type
{
STELLAR_SESSION_EVENT,
};
struct stellar_session_event_data;
struct stellar_event
{
stellar_event_type type;
union
{
struct stellar_session_event_data *session_event_data;
void *event_data;
};
};