2
0

fax_utils.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. /*! \file */
  26. #if !defined(_SPANDSP_FAX_UTILS_H_)
  27. #define _SPANDSP_FAX_UTILS_H_
  28. #if defined(__cplusplus)
  29. extern "C"
  30. {
  31. #endif
  32. void fax_log_tx_parameters(t30_state_t *s, const char *tag);
  33. void fax_log_rx_parameters(t30_state_t *s, const char *tag);
  34. void fax_log_page_transfer_statistics(t30_state_t *s, const char *tag);
  35. void fax_log_final_transfer_statistics(t30_state_t *s, const char *tag);
  36. int get_tiff_total_pages(const char *file);
  37. #if defined(__cplusplus)
  38. }
  39. #endif
  40. #endif
  41. /*- End of file ------------------------------------------------------------*/