| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
#if !defined( _LIBCFILE_SUPPORT_H ) |
| 23 |
#define _LIBCFILE_SUPPORT_H |
| 24 |
|
| 25 |
#include <common.h> |
| 26 |
#include <types.h> |
| 27 |
|
| 28 |
#include "libcfile_extern.h" |
| 29 |
#include "libcfile_libcerror.h" |
| 30 |
|
| 31 |
#if defined( __cplusplus ) |
| 32 |
extern "C" { |
| 33 |
#endif |
| 34 |
|
| 35 |
#if !defined( HAVE_LOCAL_LIBCFILE ) |
| 36 |
|
| 37 |
LIBCFILE_EXTERN \ |
| 38 |
const char *libcfile_get_version( |
| 39 |
void ); |
| 40 |
|
| 41 |
LIBCFILE_EXTERN \ |
| 42 |
int libcfile_get_codepage( |
| 43 |
int *codepage, |
| 44 |
libcerror_error_t **error ); |
| 45 |
|
| 46 |
LIBCFILE_EXTERN \ |
| 47 |
int libcfile_set_codepage( |
| 48 |
int codepage, |
| 49 |
libcerror_error_t **error ); |
| 50 |
|
| 51 |
#endif |
| 52 |
|
| 53 |
LIBCFILE_EXTERN \ |
| 54 |
int libcfile_file_exists( |
| 55 |
const char *filename, |
| 56 |
libcerror_error_t **error ); |
| 57 |
|
| 58 |
#if defined( HAVE_WIDE_CHARACTER_TYPE ) |
| 59 |
|
| 60 |
LIBCFILE_EXTERN \ |
| 61 |
int libcfile_file_exists_wide( |
| 62 |
const wchar_t *filename, |
| 63 |
libcerror_error_t **error ); |
| 64 |
|
| 65 |
#endif |
| 66 |
|
| 67 |
LIBCFILE_EXTERN \ |
| 68 |
int libcfile_file_remove( |
| 69 |
const char *filename, |
| 70 |
libcerror_error_t **error ); |
| 71 |
|
| 72 |
LIBCFILE_EXTERN \ |
| 73 |
int libcfile_file_remove_with_error_code( |
| 74 |
const char *filename, |
| 75 |
uint32_t *error_code, |
| 76 |
libcerror_error_t **error ); |
| 77 |
|
| 78 |
#if defined( HAVE_WIDE_CHARACTER_TYPE ) |
| 79 |
|
| 80 |
LIBCFILE_EXTERN \ |
| 81 |
int libcfile_file_remove_wide( |
| 82 |
const wchar_t *filename, |
| 83 |
libcerror_error_t **error ); |
| 84 |
|
| 85 |
LIBCFILE_EXTERN \ |
| 86 |
int libcfile_file_remove_wide_with_error_code( |
| 87 |
const wchar_t *filename, |
| 88 |
uint32_t *error_code, |
| 89 |
libcerror_error_t **error ); |
| 90 |
|
| 91 |
#endif |
| 92 |
|
| 93 |
#if defined( __cplusplus ) |
| 94 |
} |
| 95 |
#endif |
| 96 |
|
| 97 |
#endif |
| 98 |
|