rename packet_io_loop to stellar_event_base_loop
This commit is contained in:
@@ -5,13 +5,18 @@
|
||||
|
||||
|
||||
|
||||
int http_event_plugin_entry(const struct session *s, int what, struct packet *p, const char *payload, uint32_t len, void **pme)
|
||||
int http_event_plugin_entry(const struct stellar_session *s, int what, struct stellar_packet *p, const char *payload, uint32_t len, void **pme)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int http_event_plugin_init()
|
||||
{
|
||||
plugin_session_event_register(SESSION_TYPE_HTTP, http_event_plugin_entry, nullptr);
|
||||
plugin_session_event_register("HTTP", http_event_plugin_entry, nullptr);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void http_event_plugin_destroy()
|
||||
{
|
||||
return ;
|
||||
}
|
||||
Reference in New Issue
Block a user