/
niceSOFT
/
systemd
Обзор
Документация
Войти
/
niceSOFT
/
systemd
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/machine/image.h
17 строк
643 B
Daan De Meyer
string-table: Introduce DECLARE_STRING_TABLE_LOOKUP() and friends
01 янв 2026, 22:05
01 янв 2026, 22:05
aec52c1
Код
Авторство
О чём код?
/* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once #include "machine-forward.h" typedef enum ImageCleanPoolMode { IMAGE_CLEAN_POOL_REMOVE_ALL, IMAGE_CLEAN_POOL_REMOVE_HIDDEN, _IMAGE_CLEAN_POOL_MAX, _IMAGE_CLEAN_POOL_INVALID = -EINVAL, } ImageCleanPoolMode; DECLARE_STRING_TABLE_LOOKUP(image_clean_pool_mode, ImageCleanPoolMode); int image_clean_pool_operation(Manager *manager, ImageCleanPoolMode mode, Operation **ret_operation); int clean_pool_read_first_entry(FILE *file, int child_error, sd_bus_error *error); int clean_pool_read_next_entry(FILE *file, char **ret_name, uint64_t *ret_usage);