22 lines
407 B
C++
22 lines
407 B
C++
#include "session.h"
|
|
#include "packet.h"
|
|
#include "plugin.h"
|
|
#include "http.h"
|
|
|
|
|
|
|
|
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("HTTP", http_event_plugin_entry, nullptr);
|
|
return 0;
|
|
}
|
|
|
|
void http_event_plugin_destroy()
|
|
{
|
|
return ;
|
|
} |