2023-01-01 19:16:35 +00:00
|
|
|
#ifndef NH_CTRL_API_H
|
|
|
|
#define NH_CTRL_API_H
|
|
|
|
|
2023-01-02 16:01:31 +00:00
|
|
|
#include "nh_shared_if.h"
|
2023-01-01 19:16:35 +00:00
|
|
|
|
|
|
|
typedef struct {
|
2023-01-02 16:01:31 +00:00
|
|
|
nh_shared_if_t *shared_if;
|
|
|
|
nh_osa_t *osa;
|
|
|
|
void *user_data;
|
2023-01-01 19:16:35 +00:00
|
|
|
|
|
|
|
/* Private states */
|
|
|
|
} nh_ctrl_api_t;
|
|
|
|
|
|
|
|
nh_ret_t nh_ctrl_api_init(nh_ctrl_api_t *api);
|
2023-01-07 17:22:05 +00:00
|
|
|
void nh_ctrl_api_task(nh_ctrl_api_t *api);
|
2023-01-01 19:16:35 +00:00
|
|
|
|
|
|
|
#endif // NH_CTRL_API_H
|