23 lines
412 B
C
23 lines
412 B
C
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#include "stellar/polling_manager.h"
|
|
|
|
#define TOPIC_POLLING "POLLING"
|
|
#define MODULE_POLLING "POLLING"
|
|
struct stellar_polling_manager
|
|
{
|
|
struct stellar_module_manager *mod_mgr;
|
|
int polling_topic_id;
|
|
};
|
|
|
|
//TODO: expose this function to polling_manager.h
|
|
void stellar_polling_dispatch(struct stellar_polling_manager *polling_mgr);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |