add mod_fax to the windows build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11567 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2009-01-30 19:15:06 +00:00
1 parent ebbfd596a8
commit b803ade94a
10 files changed
+563 -52

No files matched your search

+3 -3
View File
@@ -3,7 +3,7 @@
ProjectType="Visual C++"
Version="9.00"
Name="libspandsp"
ProjectGUID="{CF70F278-3364-4395-A2E1-23501C9B8AD2}"
ProjectGUID="{1CBB0077-18C5-455F-801C-0A0CE7B0BBF5}"
RootNamespace="libspandsp"
Keyword="Win32Proj"
TargetFrameworkVersion="131072"
@@ -41,7 +41,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=".;.\spandsp;.\msvc;..\..\tiff\libtiff;.\generated"
AdditionalIncludeDirectories=".;.\spandsp;.\msvc;..\..\tiff-3.8.2\libtiff;.\generated"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBSPANDSP_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;HAVE_CONFIG_H"
MinimalRebuild="true"
BasicRuntimeChecks="3"
@@ -118,7 +118,7 @@
/>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=".;.\spandsp;.\msvc;..\..\tiff\libtiff;.\generated"
AdditionalIncludeDirectories=".;.\spandsp;.\msvc;..\..\tiff-3.8.2\libtiff;.\generated"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBSPANDSP_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;HAVE_CONFIG_H"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
+49 -49
View File
@@ -25,7 +25,7 @@
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="if not exist &quot;$(ProjectDir)../../tiff/libtiff/tif_config.h&quot; copy &quot;$(ProjectDir)..\..\tiff\libtiff\tiffconf.h.vc&quot; &quot;$(ProjectDir)..\..\tiff\libtiff\tiffconf.h&quot; /Y&#x0D;&#x0A;if not exist &quot;$(ProjectDir)../../tiff/libtiff/tif_config.h&quot; copy &quot;$(ProjectDir)..\..\tiff\libtiff\tif_config.h.vc&quot; &quot;$(ProjectDir)..\..\tiff\libtiff\tif_config.h&quot; /Y"
CommandLine="if not exist &quot;$(ProjectDir)../../tiff-3.8.2/libtiff/tif_config.h&quot; copy &quot;$(ProjectDir)..\..\tiff-3.8.2\libtiff\tiffconf.h.vc&quot; &quot;$(ProjectDir)..\..\tiff-3.8.2\libtiff\tiffconf.h&quot; /Y&#x0D;&#x0A;if not exist &quot;$(ProjectDir)../../tiff-3.8.2/libtiff/tif_config.h&quot; copy &quot;$(ProjectDir)..\..\tiff-3.8.2\libtiff\tif_config.h.vc&quot; &quot;$(ProjectDir)..\..\tiff-3.8.2\libtiff\tif_config.h&quot; /Y"
/>
<Tool
Name="VCCustomBuildTool"
@@ -90,7 +90,7 @@
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="if not exist &quot;$(ProjectDir)../../tiff/libtiff/tif_config.h&quot; copy &quot;$(ProjectDir)..\..\tiff\libtiff\tiffconf.h.vc&quot; &quot;$(ProjectDir)..\..\tiff\libtiff\tiffconf.h&quot; /Y&#x0D;&#x0A;if not exist &quot;$(ProjectDir)../../tiff/libtiff/tif_config.h&quot; copy &quot;$(ProjectDir)..\..\tiff\libtiff\tif_config.h.vc&quot; &quot;$(ProjectDir)..\..\tiff\libtiff\tif_config.h&quot; /Y"
CommandLine="if not exist &quot;$(ProjectDir)../../tiff-3.8.2/libtiff/tif_config.h&quot; copy &quot;$(ProjectDir)..\..\tiff-3.8.2\libtiff\tiffconf.h.vc&quot; &quot;$(ProjectDir)..\..\tiff-3.8.2\libtiff\tiffconf.h&quot; /Y&#x0D;&#x0A;if not exist &quot;$(ProjectDir)../../tiff-3.8.2/libtiff/tif_config.h&quot; copy &quot;$(ProjectDir)..\..\tiff-3.8.2\libtiff\tif_config.h.vc&quot; &quot;$(ProjectDir)..\..\tiff-3.8.2\libtiff\tif_config.h&quot; /Y"
/>
<Tool
Name="VCCustomBuildTool"
@@ -151,11 +151,11 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\..\tiff\libtiff\tif_aux.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_aux.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_close.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_close.c"
>
<FileConfiguration
Name="Debug|Win32"
@@ -166,83 +166,83 @@
</FileConfiguration>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_codec.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_codec.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_color.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_color.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_compress.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_compress.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_dir.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_dir.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_dirinfo.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_dirinfo.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_dirread.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_dirread.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_dirwrite.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_dirwrite.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_dumpmode.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_dumpmode.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_error.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_error.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_extension.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_extension.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_fax3.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_fax3.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_fax3sm.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_fax3sm.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_flush.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_flush.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_getimage.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_getimage.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_jpeg.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_jpeg.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_luv.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_luv.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_lzw.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_lzw.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_next.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_next.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_ojpeg.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_ojpeg.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_open.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_open.c"
>
<FileConfiguration
Name="Debug|Win32"
@@ -253,55 +253,55 @@
</FileConfiguration>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_packbits.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_packbits.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_pixarlog.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_pixarlog.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_predict.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_predict.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_print.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_print.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_read.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_read.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_strip.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_strip.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_swab.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_swab.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_thunder.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_thunder.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_tile.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_tile.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_unix.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_unix.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_version.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_version.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_warning.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_warning.c"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_write.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_write.c"
>
<FileConfiguration
Name="Debug|Win32"
@@ -312,7 +312,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_zip.c"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_zip.c"
>
</File>
</Filter>
@@ -320,47 +320,47 @@
Name="Header Files"
>
<File
RelativePath="..\..\tiff\libtiff\t4.h"
RelativePath="..\..\tiff-3.8.2\libtiff\t4.h"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_dir.h"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_dir.h"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_fax3.h"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_fax3.h"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tif_predict.h"
RelativePath="..\..\tiff-3.8.2\libtiff\tif_predict.h"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tiff.h"
RelativePath="..\..\tiff-3.8.2\libtiff\tiff.h"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tiffconf.h"
RelativePath="..\..\tiff-3.8.2\libtiff\tiffconf.h"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tiffio.h"
RelativePath="..\..\tiff-3.8.2\libtiff\tiffio.h"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tiffio.hxx"
RelativePath="..\..\tiff-3.8.2\libtiff\tiffio.hxx"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tiffiop.h"
RelativePath="..\..\tiff-3.8.2\libtiff\tiffiop.h"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\tiffvers.h"
RelativePath="..\..\tiff-3.8.2\libtiff\tiffvers.h"
>
</File>
<File
RelativePath="..\..\tiff\libtiff\uvcode.h"
RelativePath="..\..\tiff-3.8.2\libtiff\uvcode.h"
>
</File>
</Filter>
+6
View File
@@ -55,9 +55,15 @@ typedef __int64 int64_t;
#pragma comment(lib, "ws2_32.lib")
#ifndef strncasecmp
#define strncasecmp _strnicmp
#endif
#ifndef strcasecmp
#define strcasecmp _stricmp
#endif
#ifndef snprintf
#define snprintf _snprintf
#endif
#if !defined(INFINITY)
#define INFINITY 0x7fffffff
+19
View File
@@ -274,4 +274,23 @@ v8_release
v8_tx
v8_rx
v8_log_supported_modulations
t30_set_ecm_capability
t30_set_supported_compressions
t30_set_supported_modems
t30_set_supported_resolutions
t30_set_supported_image_sizes
t30_set_tx_page_header_info
t30_set_tx_ident
span_log_set_level
span_log_set_message_handler
fax_set_transmit_on_idle
fax_get_t30_state
t30_get_rx_model
t30_get_rx_vendor
t30_get_rx_country
t30_get_rx_ident
t30_get_tx_ident
t38_terminal_release
t38_terminal_get_t30_state
t30_terminate
+123
View File
@@ -0,0 +1,123 @@
/*
* SpanDSP - a series of DSP components for telephony
*
* spandsp.h - The head guy amongst the headers
*
* Written by Steve Underwood <steveu@coppice.org>
*
* Copyright (C) 2003 Steve Underwood
*
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 2.1,
* as published by the Free Software Foundation.
*
* This program 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id: spandsp.h.in,v 1.14 2009/01/07 13:31:53 steveu Exp $
*/
/*! \file */
#if !defined(_SPANDSP_H_)
#define _SPANDSP_H_
#undef SPANDSP_USE_FIXED_POINT
#undef SPANDSP_MISALIGNED_ACCESS_FAILS
#include <stdlib.h>
#include <inttypes.h>
#include <string.h>
#include <limits.h>
#include <time.h>
#include <math.h>
#include <tiffio.h>
#include <spandsp/telephony.h>
#include <spandsp/logging.h>
#include <spandsp/complex.h>
#include <spandsp/bit_operations.h>
#include <spandsp/bitstream.h>
#include <spandsp/queue.h>
#include <spandsp/schedule.h>
#include <spandsp/g711.h>
#include <spandsp/timing.h>
#include <spandsp/vector_float.h>
#include <spandsp/complex_vector_float.h>
#include <spandsp/vector_int.h>
#include <spandsp/complex_vector_int.h>
#include <spandsp/arctan2.h>
#include <spandsp/biquad.h>
#include <spandsp/fir.h>
#include <spandsp/awgn.h>
#include <spandsp/bert.h>
#include <spandsp/power_meter.h>
#include <spandsp/complex_filters.h>
#include <spandsp/dc_restore.h>
#include <spandsp/dds.h>
#include <spandsp/echo.h>
#include <spandsp/modem_echo.h>
#include <spandsp/crc.h>
#include <spandsp/hdlc.h>
#include <spandsp/async.h>
#include <spandsp/noise.h>
#include <spandsp/saturated.h>
#include <spandsp/time_scale.h>
#include <spandsp/tone_detect.h>
#include <spandsp/tone_generate.h>
#include <spandsp/super_tone_rx.h>
#include <spandsp/super_tone_tx.h>
#include <spandsp/dtmf.h>
#include <spandsp/bell_r2_mf.h>
#include <spandsp/sig_tone.h>
#include <spandsp/fsk.h>
#include <spandsp/modem_connect_tones.h>
#include <spandsp/silence_gen.h>
#include <spandsp/v29rx.h>
#include <spandsp/v29tx.h>
#include <spandsp/v17rx.h>
#include <spandsp/v17tx.h>
#include <spandsp/v22bis.h>
#include <spandsp/v27ter_rx.h>
#include <spandsp/v27ter_tx.h>
#include <spandsp/v8.h>
#include <spandsp/v42.h>
#include <spandsp/v42bis.h>
#include <spandsp/t4.h>
#include <spandsp/t30.h>
#include <spandsp/t30_api.h>
#include <spandsp/t30_fcf.h>
#include <spandsp/t30_logging.h>
#include <spandsp/t35.h>
#include <spandsp/at_interpreter.h>
#include <spandsp/fax_modems.h>
#include <spandsp/fax.h>
#include <spandsp/t38_core.h>
#include <spandsp/t38_non_ecm_buffer.h>
#include <spandsp/t38_gateway.h>
#include <spandsp/t38_terminal.h>
#include <spandsp/t31.h>
#include <spandsp/adsi.h>
#include <spandsp/oki_adpcm.h>
#include <spandsp/ima_adpcm.h>
#include <spandsp/g722.h>
#include <spandsp/g726.h>
#include <spandsp/lpc10.h>
#include <spandsp/gsm0610.h>
#include <spandsp/plc.h>
#include <spandsp/playout.h>
#endif
#if defined(SPANDSP_EXPOSE_INTERNAL_STRUCTURES)
#include <spandsp/expose.h>
#endif
/*- End of file ------------------------------------------------------------*/