spandsp: fax_utils.h Source File

spandsp 0.0.6

fax_utils.h
Go to the documentation of this file.
1/*
2 * SpanDSP - a series of DSP components for telephony
3 *
4 * fax_utils.h
5 *
6 * Written by Steve Underwood <steveu@coppice.org>
7 *
8 * Copyright (C) 2009 Steve Underwood
9 *
10 * All rights reserved.
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License version 2, as
14 * published by the Free Software Foundation.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 */
25
26/*! \file */
27
28#if !defined(_SPANDSP_FAX_UTILS_H_)
29#define _SPANDSP_FAX_UTILS_H_
30
31#if defined(__cplusplus)
32extern "C"
33{
34#endif
35
36void fax_log_tx_parameters(t30_state_t *s, const char *tag);
37
38void fax_log_rx_parameters(t30_state_t *s, const char *tag);
39
40void fax_log_page_transfer_statistics(t30_state_t *s, const char *tag);
41
42void fax_log_final_transfer_statistics(t30_state_t *s, const char *tag);
43
44int get_tiff_total_pages(const char *file);
45
46#if defined(__cplusplus)
47}
48#endif
49
50#endif
51/*- End of file ------------------------------------------------------------*/