1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 #pragma once 3 4 #include <inttypes.h> 5 #include <stdbool.h> 6 7 extern bool arg_sync; 8 extern uint64_t arg_instances_max; 9 extern char *arg_root; 10 import_binary_path(void)11static inline const char* import_binary_path(void) { 12 return secure_getenv("SYSTEMD_IMPORT_PATH") ?: SYSTEMD_IMPORT_PATH; 13 } 14 import_fs_binary_path(void)15static inline const char* import_fs_binary_path(void) { 16 return secure_getenv("SYSTEMD_IMPORT_FS_PATH") ?: SYSTEMD_IMPORT_FS_PATH; 17 } 18 pull_binary_path(void)19static inline const char *pull_binary_path(void) { 20 return secure_getenv("SYSTEMD_PULL_PATH") ?: SYSTEMD_PULL_PATH; 21 } 22