32 lines
736 B
C
32 lines
736 B
C
#ifndef AMDUAT_ASL_STORE_FS_H
|
|
#define AMDUAT_ASL_STORE_FS_H
|
|
|
|
#include "amduat/asl/store.h"
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
enum { AMDUAT_ASL_STORE_FS_ROOT_MAX = 1024 };
|
|
|
|
typedef struct {
|
|
amduat_asl_store_config_t config;
|
|
char root_path[AMDUAT_ASL_STORE_FS_ROOT_MAX];
|
|
} amduat_asl_store_fs_t;
|
|
|
|
/* Caller owns any heap allocations returned in out_ref or out_artifact. */
|
|
bool amduat_asl_store_fs_init(amduat_asl_store_fs_t *fs,
|
|
amduat_asl_store_config_t config,
|
|
const char *root_path);
|
|
|
|
amduat_asl_store_ops_t amduat_asl_store_fs_ops(void);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /* AMDUAT_ASL_STORE_FS_H */
|