| 1 | /* |
| 2 | * SPDX-License-Identifier: MIT |
| 3 | * |
| 4 | * Copyright (C) 2016 Philippe Proulx <pproulx@efficios.com> |
| 5 | */ |
| 6 | |
| 7 | #ifndef CTF_FS_FILE_H |
| 8 | #define CTF_FS_FILE_H |
| 9 | |
| 10 | #include <babeltrace2/babeltrace.h> |
| 11 | |
| 12 | namespace bt2c { |
| 13 | |
| 14 | class Logger; |
| 15 | |
| 16 | } /* namespace bt2c */ |
| 17 | |
| 18 | void ctf_fs_file_destroy(struct ctf_fs_file *file); |
| 19 | |
| 20 | struct ctf_fs_file *ctf_fs_file_create(const bt2c::Logger& parentLogger); |
| 21 | |
| 22 | int ctf_fs_file_open(struct ctf_fs_file *file, const char *mode); |
| 23 | |
| 24 | #endif /* CTF_FS_FILE_H */ |