refactor: session module (split to define/utils/pool/table/timer/transition/manager)
This commit is contained in:
20
src/stellar/stellar_utils.h
Normal file
20
src/stellar/stellar_utils.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include "stellar/stellar.h"
|
||||
|
||||
struct packet_io *stellar_get_packet_io(const struct stellar *st);
|
||||
struct session_manager *stellar_get_session_manager(const struct stellar *st);
|
||||
struct plugin_manager_schema *stellar_get_plugin_manager(const struct stellar *st);
|
||||
// TODO fix plugin manager, delete this function
|
||||
void stellar_set_plugin_manger(struct stellar *st, struct plugin_manager_schema *plug_mgr);
|
||||
|
||||
int stellar_main(int argc, char **argv);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user