summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/core/shared/utils/uncommon/bh_read_file.h
blob: bbebf847ffed3aa75142909ddf3715b6146190dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (C) 2019 Intel Corporation.  All rights reserved.
 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 */

#ifndef _BH_FILE_H
#define _BH_FILE_H

#include "bh_platform.h"

#ifdef __cplusplus
extern "C" {
#endif

char *
bh_read_file_to_buffer(const char *filename, uint32 *ret_size);

#ifdef __cplusplus
}
#endif

#endif /* end of _BH_FILE_H */