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); char *gadgets_retrieve_weather_forecast(char *output, int max_len); char *gadgets_retrieve_weather_warnings(char *output, int max_len);