move stellar/packet_manager.h into stellar/packet.h
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "stellar/exdata.h"
|
||||
#include "stellar/packet_manager.h"
|
||||
#include "stellar/packet.h"
|
||||
#include "stellar/session_manager.h"
|
||||
#include "stellar/module_manager.h"
|
||||
|
||||
#include "utils_internal.h"
|
||||
#include "session_internal.h"
|
||||
@@ -88,7 +86,7 @@ static void on_session_free(void *msg, void *args)
|
||||
session_manager_runtime_free_session(sess_mgr_rt, sess);
|
||||
}
|
||||
|
||||
static void on_packet_forward(enum packet_stage stage, struct packet *pkt, void *args)
|
||||
static void on_packet_forward(struct packet *pkt, enum packet_stage stage, void *args)
|
||||
{
|
||||
struct session_manager *sess_mgr = (struct session_manager *)args;
|
||||
struct stellar_module_manager *mod_mgr = sess_mgr->mod_mgr;
|
||||
@@ -180,7 +178,7 @@ fast_path:
|
||||
return;
|
||||
}
|
||||
|
||||
static void on_packet_output(enum packet_stage stage, struct packet *pkt, void *args)
|
||||
static void on_packet_output(struct packet *pkt, enum packet_stage stage, void *args)
|
||||
{
|
||||
struct session_manager *sess_mgr = (struct session_manager *)args;
|
||||
struct stellar_module_manager *mod_mgr = sess_mgr->mod_mgr;
|
||||
|
||||
Reference in New Issue
Block a user