00001 /* 00002 * SpanDSP - a series of DSP components for telephony 00003 * 00004 * private/fax.h - private definitions for analogue line ITU T.30 fax processing 00005 * 00006 * Written by Steve Underwood <steveu@coppice.org> 00007 * 00008 * Copyright (C) 2005 Steve Underwood 00009 * 00010 * All rights reserved. 00011 * 00012 * This program is free software; you can redistribute it and/or modify 00013 * it under the terms of the GNU Lesser General Public License version 2.1, 00014 * as published by the Free Software Foundation. 00015 * 00016 * This program is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU Lesser General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU Lesser General Public 00022 * License along with this program; if not, write to the Free Software 00023 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00024 * 00025 * $Id: fax.h,v 1.1 2008/10/13 13:14:01 steveu Exp $ 00026 */ 00027 00028 /*! \file */ 00029 00030 #if !defined(_SPANDSP_PRIVATE_FAX_H_) 00031 #define _SPANDSP_PRIVATE_FAX_H_ 00032 00033 /*! 00034 Analogue line T.30 FAX channel descriptor. This defines the state of a single working 00035 instance of an analogue line soft-FAX machine. 00036 */ 00037 struct fax_state_s 00038 { 00039 /*! \brief The T.30 back-end */ 00040 t30_state_t t30; 00041 00042 /*! \brief The analogue modem front-end */ 00043 fax_modems_state_t modems; 00044 00045 /*! \brief Error and flow logging control */ 00046 logging_state_t logging; 00047 }; 00048 00049 #endif 00050 /*- End of file ------------------------------------------------------------*/