refactor(main loop): compiled

This commit is contained in:
luwenpeng
2024-09-20 18:41:07 +08:00
parent 94f1913e3e
commit b3ddebf770
10 changed files with 164 additions and 438 deletions

View File

@@ -26,9 +26,9 @@ int stellar_polling_subscribe(struct stellar *st, plugin_on_polling_func on_pol
void stellar_emit_datapath_telemetry(struct packet *pkt, const char * module, const char *str);
// only send user build packet, can't send packet which come from network
void stellar_send_build_packet(struct stellar *st, struct packet *pkt);
// void stellar_send_build_packet(struct stellar *st, struct packet *pkt);
struct stellar *stellar_new(const char *stellar_cfg_file, const char *plugin_cfg_file, const char *log_cfg_file);
struct stellar *stellar_new(const char *stellar_cfg_file, const char *module_cfg_file, const char *log_cfg_file);
void stellar_run(struct stellar *st);
void stellar_free(struct stellar *st);
void stellar_loopbreak(struct stellar *st);