summaryrefslogtreecommitdiffstats
path: root/src/modules/weather/option.h
blob: 136277fcfee290c3734a144ee10fc2d8ac94fb11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "common/option.h"

typedef struct FFWeatherOptions {
    FFModuleArgs moduleArgs;

    FFstrbuf location;
    FFstrbuf outputFormat;
    uint32_t timeout;
} FFWeatherOptions;

static_assert(sizeof(FFWeatherOptions) <= FF_OPTION_MAX_SIZE, "FFWeatherOptions size exceeds maximum allowed size");