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

@@ -3,7 +3,9 @@
#include "session.h"
#include <time.h>
int plugin_session_event_register(int session_type, fn_session_event_callback cb, void *entry_arg);
int plugin_session_timer_register(struct session *s, fn_session_timer cb, void *timer_arg, const struct timeval *timeout);
int plugin_session_event_register(const char *session_name,
fn_session_event_callback call_back,
const struct timeval *timeout);
int plugin_custom_session_event_register(const char *event_name, fn_session_event_callback cb, void *entry_arg);
void plugin_session_event_delete(struct stellar_event *ev,
struct stellar_session *s);