1/* -*- tab-width: 4; -*- */
2/* vi: set sw=2 ts=4 expandtab: */
3
4/*
5 * Copyright 2010-2020 The Khronos Group Inc.
6 * SPDX-License-Identifier: Apache-2.0
7 */
8
9/*
10 * Author: Maksim Kolesin from original code
11 * by Mark Callow and Georg Kolling
12 */
13
14#ifndef FILESTREAM_H
15#define FILESTREAM_H
16
17#include "ktx.h"
18
19/*
20 * ktxFileInit: Initialize a ktxStream to a ktxFileStream with a FILE object
21 */
22KTX_error_code ktxFileStream_construct(ktxStream* str, FILE* file,
23 ktx_bool_t closeFileOnDestruct);
24
25void ktxFileStream_destruct(ktxStream* str);
26
27#endif /* FILESTREAM_H */
28