-
-/* API function documented in wimlib.h */
-WIMLIBAPI int
-wimlib_get_boot_idx(const WIMStruct *wim)
-{
- struct wimlib_wim_info info;
-
- wimlib_get_wim_info((WIMStruct*)wim, &info);
- return info.boot_index;
-}
-
-/* API function documented in wimlib.h */
-WIMLIBAPI int
-wimlib_get_compression_type(const WIMStruct *wim)
-{
- struct wimlib_wim_info info;
-
- wimlib_get_wim_info((WIMStruct*)wim, &info);
- return info.compression_type;
-}
-
-/* API function documented in wimlib.h */
-WIMLIBAPI int
-wimlib_get_num_images(const WIMStruct *wim)
-{
- struct wimlib_wim_info info;
-
- wimlib_get_wim_info((WIMStruct*)wim, &info);
- return info.image_count;
-}
-
-/* API function documented in wimlib.h */
-WIMLIBAPI int
-wimlib_get_part_number(const WIMStruct *wim, int *total_parts_ret)
-{
- struct wimlib_wim_info info;
-
- wimlib_get_wim_info((WIMStruct*)wim, &info);
- if (total_parts_ret)
- *total_parts_ret = info.total_parts;
- return info.part_number;
-}
-
-/* API function documented in wimlib.h */
-WIMLIBAPI bool
-wimlib_has_integrity_table(const WIMStruct *wim)
-{
- struct wimlib_wim_info info;
-
- wimlib_get_wim_info((WIMStruct*)wim, &info);
- return info.has_integrity_table;
-}
-