feat: validate credentials, persist them, and switch without rebooting
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
#define NETWORK_CREDENTIAL_STORE_H
|
||||
#include <stdbool.h>
|
||||
#include "network_state.h"
|
||||
bool network_credential_store_load(network_profile_t *profile);
|
||||
typedef enum { NETWORK_CREDENTIAL_LOAD_VALID, NETWORK_CREDENTIAL_LOAD_ABSENT, NETWORK_CREDENTIAL_LOAD_INVALID } network_credential_load_result_t;
|
||||
network_credential_load_result_t network_credential_store_load(network_profile_t *profile);
|
||||
bool network_credential_store_replace(const network_profile_t *profile);
|
||||
bool network_credential_store_delete(void);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user