]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/shared/import-util.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
8 typedef enum ImportVerify
{
10 IMPORT_VERIFY_CHECKSUM
,
11 IMPORT_VERIFY_SIGNATURE
,
13 _IMPORT_VERIFY_INVALID
= -1,
16 int import_url_last_component(const char *url
, char **ret
);
17 int import_url_change_last_component(const char *url
, const char *suffix
, char **ret
);
19 const char* import_verify_to_string(ImportVerify v
) _const_
;
20 ImportVerify
import_verify_from_string(const char *s
) _pure_
;
22 int tar_strip_suffixes(const char *name
, char **ret
);
23 int raw_strip_suffixes(const char *name
, char **ret
);
25 int import_assign_pool_quota_and_warn(const char *path
);