2021-02-08 11:08:15 +01:00

23 lines
353 B
C

#ifndef _WIZHELPER_H_
#define _WIZHELPER_H_
#include <stdbool.h>
#include <stdint.h>
typedef struct {
uint64_t seconds;
uint32_t missedUpdates;
bool valid;
} t_seconds;
int wizInit();
bool isNetworkAvailable();
uint8_t* wizGetIPAddress();
bool wizDnsQuery(char *name, uint8_t *ip);
t_seconds* wizGetSeconds();
#endif // _WIZHELPER_H_