#ifndef INPUT_GADGETS_H #define INPUT_GADGETS_H typedef struct { char *memory; size_t size; } MemoryStruct; typedef struct { int is_update; int category; // 0: Met; 1: Health char *event; char *headline; int severity; time_t onset, expires; } warning_t; char *gadgets_retrieve_current_temperature(char *output, int max_len, double *temperature, double *humidity); char *gadgets_retrieve_weather_forecast(char *output, int max_len); char *gadgets_retrieve_weather_warnings(char *output, int max_len); char *gadgets_retrieve_humidity(char *output, int max_len, double fh_temperature, double fh_humidity); #endif // INPUT_GADGETS_H