#ifndef WEATHER_H
#define WEATHER_H
#include <math.h>
#include "ascii.h"
typedef struct {
int http_status;
int OK;
int data_source;
int lightning;
double temperature;
double humidity;
double windspeed;
double winddirection;
double rainintensity;
double totalrainaccumulated;
double pressure;
double visibility;
char api_message[512];
} ZomWeather;
void reset_weather(ZomWeather *pWeather);
WeatherCondition infer_weather_condition(const ZomWeather *pWeather);
#endif