Files
xtool-mirror/Sources/CXKit/include/mobileprovision.h
2025-05-06 11:30:59 +05:30

35 lines
801 B
C

//
// mobileprovision_utils.h
// XKit
//
// Created by Kabir Oberai on 05/07/19.
// Copyright © 2019 Kabir Oberai. All rights reserved.
//
#ifndef mobileprovision_h
#define mobileprovision_h
#include <stdio.h>
#pragma clang assume_nonnull begin
typedef struct mobileprovision *mobileprovision_t;
// MARK: - Lifecycle
/// create a profile from the given data
_Nullable mobileprovision_t mobileprovision_create_from_data(const void *data, size_t len);
/// free `profile`
void mobileprovision_free(mobileprovision_t profile);
// MARK: - Operations
void * _Nullable mobileprovision_copy_data(mobileprovision_t profile, size_t *len);
const void * _Nullable mobileprovision_get_digest(mobileprovision_t profile, size_t *len);
#pragma clang assume_nonnull end
#endif /* mobileprovision_h */