refactor: move struct laye and struct tunnel to packet.h
This commit is contained in:
@@ -35,16 +35,12 @@ static void signal_handler(int signo)
|
||||
|
||||
int main(int argc __attribute__((__unused__)), char **argv __attribute__((__unused__)))
|
||||
{
|
||||
const char *stellar_cfg_file = "./conf/stellar.toml";
|
||||
const char *plugin_cfg_file = "./plugin/spec.toml";
|
||||
const char *log_cfg_file = "./conf/log.toml";
|
||||
|
||||
signal(SIGINT, signal_handler);
|
||||
signal(SIGQUIT, signal_handler);
|
||||
signal(SIGTERM, signal_handler);
|
||||
signal(SIGHUP, signal_handler);
|
||||
|
||||
st = stellar_new(stellar_cfg_file, plugin_cfg_file, log_cfg_file);
|
||||
st = stellar_new("./conf/stellar.toml", "./plugin/spec.toml", "./conf/log.toml");
|
||||
if (st == NULL)
|
||||
{
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user