feature: stellar dev API support stellar_new()/stellar_run()/stellar_free()/stellar_loopbreak()
This commit is contained in:
@@ -53,7 +53,12 @@ int stellar_get_worker_thread_num(struct stellar *st);
|
||||
uint16_t stellar_get_current_thread_index();
|
||||
// only send user crafted packet, can't send packet which come from network
|
||||
void stellar_send_build_packet(struct stellar *st, struct packet *pkt);
|
||||
int stellar_run(int argc, char **argv);
|
||||
|
||||
struct stellar;
|
||||
struct stellar *stellar_new(const char *stellar_cfg_file, const char *plugin_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);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user