add artifact/ref IO, format parse, opreg formatting, PEL decode/run modules refactor PEL/ASL CLIs and pel_run/seed to use shared helpers update build to include new sources and headers
30 lines
766 B
C
30 lines
766 B
C
#ifndef AMDUAT_ASL_REF_IO_H
|
|
#define AMDUAT_ASL_REF_IO_H
|
|
|
|
#include "amduat/asl/core.h"
|
|
#include "amduat/format/ref.h"
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
bool amduat_asl_ref_decode_format(amduat_format_ref_format_t fmt,
|
|
amduat_octets_t input,
|
|
amduat_reference_t *out_ref);
|
|
|
|
bool amduat_asl_ref_list_parse(amduat_octets_t input,
|
|
amduat_format_ref_format_t fmt,
|
|
amduat_reference_t **out_refs,
|
|
size_t *out_len);
|
|
|
|
void amduat_asl_ref_list_free(amduat_reference_t *refs, size_t len);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /* AMDUAT_ASL_REF_IO_H */
|