spandsp: fax.h Source File

spandsp 0.0.6

private/fax.h
Go to the documentation of this file.
1/*
2 * SpanDSP - a series of DSP components for telephony
3 *
4 * private/fax.h - private definitions for analogue line ITU T.30 fax processing
5 *
6 * Written by Steve Underwood <steveu@coppice.org>
7 *
8 * Copyright (C) 2005 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 Lesser General Public License version 2.1,
14 * as 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 Lesser General Public License for more details.
20 *
21 * You should have received a copy of the GNU Lesser General Public
22 * License 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_PRIVATE_FAX_H_)
29#define _SPANDSP_PRIVATE_FAX_H_
30
31/*!
32 Analogue line T.30 FAX channel descriptor. This defines the state of a single working
33 instance of an analogue line soft-FAX machine.
34*/
35 struct fax_state_s
36{
37 /*! \brief The T.30 back-end */
38 t30_state_t t30;
39
40 /*! \brief The analogue modem front-end */
41 fax_modems_state_t modems;
42 /*! \brief V.8 */
43 //v8_state_t v8;
44
45 /*! \brief Error and flow logging control */
46 logging_state_t logging;
47};
48
49#endif
50/*- End of file ------------------------------------------------------------*/
fax_modems_state_t
struct fax_modems_state_s fax_modems_state_t
Definition fax_modems.h:53
logging_state_t
struct logging_state_s logging_state_t
Definition logging.h:75
fax_state_s
Definition private/fax.h:36
fax_state_s::t30
t30_state_t t30
The T.30 back-end.
Definition private/fax.h:38
fax_state_s::logging
logging_state_t logging
V.8.
Definition private/fax.h:46
fax_state_s::modems
fax_modems_state_t modems
The analogue modem front-end.
Definition private/fax.h:41