32 lines
555 B
C
32 lines
555 B
C
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#include "packet_io.h"
|
|
#include "ip_reassembly.h"
|
|
#include "session_manager.h"
|
|
|
|
struct device_options
|
|
{
|
|
uint8_t base;
|
|
uint8_t offset;
|
|
};
|
|
|
|
struct stellar_config
|
|
{
|
|
struct device_options dev_opts;
|
|
struct packet_io_options io_opts;
|
|
struct ip_reassembly_options ip_opts;
|
|
struct session_manager_options sess_mgr_opts;
|
|
};
|
|
|
|
int stellar_load_config(const char *file, struct stellar_config *config);
|
|
void stellar_print_config(struct stellar_config *config);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|