mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-04-21 19:05:06 +00:00
29 lines
508 B
C
29 lines
508 B
C
#pragma once
|
|
|
|
#include "mutex.h"
|
|
#include "services/wifi/wifi.h"
|
|
#include "wifi_manage_view.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct {
|
|
PubSubSubscription* wifi_subscription;
|
|
Mutex* mutex;
|
|
WifiManageState state;
|
|
WifiManageView view;
|
|
bool view_enabled;
|
|
WifiManageBindings bindings;
|
|
} WifiManage;
|
|
|
|
void wifi_manage_lock(WifiManage* wifi);
|
|
|
|
void wifi_manage_unlock(WifiManage* wifi);
|
|
|
|
void wifi_manage_request_view_update(WifiManage* wifi);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|