1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3 
4 #include "types-fundamental.h"
5 
6 sd_bool bootspec_pick_name_version_sort_key(
7                 const sd_char *os_pretty_name,
8                 const sd_char *os_image_id,
9                 const sd_char *os_name,
10                 const sd_char *os_id,
11                 const sd_char *os_image_version,
12                 const sd_char *os_version,
13                 const sd_char *os_version_id,
14                 const sd_char *os_build_id,
15                 const sd_char **ret_name,
16                 const sd_char **ret_version,
17                 const sd_char **ret_sort_key);
18