amduat-api/src/amduatd_derivation_index.h

33 lines
1.1 KiB
C
Raw Normal View History

#ifndef AMDUATD_DERIVATION_INDEX_H
#define AMDUATD_DERIVATION_INDEX_H
#include "amduat/asl/core.h"
#include "amduat/asl/store.h"
#include "amduat/pel/run.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
bool amduatd_derivation_index_pel_run(const char *root_path,
bool enabled,
amduat_reference_t program_ref,
const amduat_reference_t *input_refs,
size_t input_refs_len,
bool has_params_ref,
amduat_reference_t params_ref,
const amduat_pel_run_result_t *run_result,
bool has_receipt_ref,
amduat_reference_t receipt_ref,
amduat_asl_store_error_t *out_err);
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* AMDUATD_DERIVATION_INDEX_H */