【修改】更新依赖的stellar头文件
This commit is contained in:
21
dependence/include/stellar/polling_manager.h
Normal file
21
dependence/include/stellar/polling_manager.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include "stellar/module_manager.h"
|
||||
|
||||
struct stellar_polling_manager;
|
||||
|
||||
struct stellar_polling_manager *stellar_module_get_polling_manager(struct stellar_module_manager *mod_mgr);
|
||||
|
||||
typedef void module_on_polling_func(struct stellar_polling_manager* mod_mgr, void *polling_arg);
|
||||
//return 0 if success, otherwise return -1.
|
||||
int stellar_polling_subscribe(struct stellar_polling_manager* mod_mgr, module_on_polling_func on_polling, void *polling_arg);
|
||||
void stellar_polling_active(struct stellar_polling_manager *mod_mgr);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user