2023-03-07 19:27:49 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "common/option.h"
|
2026-10-10 13:25:51 +08:00
|
|
|
#include "common/processing.h" // FFProcessOutputType
|
2023-03-07 19:27:49 +08:00
|
|
|
|
2026-03-29 09:28:49 +08:00
|
|
|
typedef struct FFCommandOptions {
|
2023-03-07 19:27:49 +08:00
|
|
|
FFModuleArgs moduleArgs;
|
|
|
|
|
|
|
|
|
|
FFstrbuf shell;
|
2024-09-10 21:59:30 +08:00
|
|
|
FFstrbuf param;
|
2023-03-07 19:27:49 +08:00
|
|
|
FFstrbuf text;
|
2026-10-10 13:25:51 +08:00
|
|
|
FFProcessOutputType useOutput;
|
2025-11-10 16:02:53 +08:00
|
|
|
bool parallel;
|
2025-11-17 11:01:32 +08:00
|
|
|
bool splitLines;
|
2023-03-07 19:27:49 +08:00
|
|
|
} FFCommandOptions;
|
2025-08-04 14:25:14 +08:00
|
|
|
|
|
|
|
|
static_assert(sizeof(FFCommandOptions) <= FF_OPTION_MAX_SIZE, "FFCommandOptions size exceeds maximum allowed size");
|