27 lines
540 B
C
27 lines
540 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C"
|
||
|
|
{
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#include "packet_io.h"
|
||
|
|
#include "id_generator.h"
|
||
|
|
#include "ip_reassembly.h"
|
||
|
|
#include "session_manager.h"
|
||
|
|
|
||
|
|
struct stellar_config
|
||
|
|
{
|
||
|
|
struct packet_io_options pkt_io_opts;
|
||
|
|
struct id_generator_options id_gen_opts;
|
||
|
|
struct ip_reassembly_options ip_reass_opts;
|
||
|
|
struct session_manager_options sess_mgr_opts;
|
||
|
|
};
|
||
|
|
|
||
|
|
int stellar_config_load(struct stellar_config *config, const char *file);
|
||
|
|
void stellar_config_print(const struct stellar_config *config);
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|