libewf_debug.h 1.75 KB
Newer Older
1
/*
2
 * Debugging functions
3
 *
4
 * Copyright (C) 2006-2017, Joachim Metz <joachim.metz@gmail.com>
5 6 7
 *
 * Refer to AUTHORS for acknowledgements.
 *
8 9 10 11
 * This software is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
12
 *
13 14 15 16
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
17
 *
18 19
 * You should have received a copy of the GNU Lesser General Public License
 * along with this software.  If not, see <http://www.gnu.org/licenses/>.
20 21 22 23 24 25
 */

#if !defined( _LIBEWF_DEBUG_H )
#define _LIBEWF_DEBUG_H

#include <common.h>
26 27
#include <types.h>

28
#include "libewf_libcerror.h"
29 30 31 32 33

#if defined( __cplusplus )
extern "C" {
#endif

34 35 36 37 38 39 40 41
void libewf_debug_print_compression_method(
      uint16_t compression_method );

void libewf_debug_print_section_type(
      uint32_t section_type );

void libewf_debug_print_section_data_flags(
      uint32_t data_flags );
42 43

int libewf_debug_byte_stream_print(
44 45
     const char *header_string,
     const uint8_t *byte_stream,
46
     size_t byte_stream_size,
47
     libcerror_error_t **error );
48

49
int libewf_debug_utf8_stream_print(
50 51
     const char *header_string,
     const uint8_t *utf8_stream,
52
     size_t utf8_stream_size,
53
     libcerror_error_t **error );
54

55
int libewf_debug_utf16_stream_print(
56 57
     const char *header_string,
     const uint8_t *utf16_stream,
58
     size_t utf16_stream_size,
59
     libcerror_error_t **error );
60 61 62 63 64

#if defined( __cplusplus )
}
#endif

65
#endif /* !defined( _LIBEWF_DEBUG_H ) */
66