I messed up the last spandsp update, by missing 2 header files. This should

fix things.
This commit is contained in:
Steve Underwood 2010-09-09 08:25:18 +08:00
parent 6875a9718d
commit 77671c049b
2 changed files with 6 additions and 13 deletions

View File

@ -60,10 +60,8 @@ struct t30_state_s
int supported_t30_features; int supported_t30_features;
/*! \brief TRUE is ECM mode handling is enabled. */ /*! \brief TRUE is ECM mode handling is enabled. */
int ecm_allowed; int ecm_allowed;
#if 0
/*! \brief TRUE if we are capable of retransmitting pages */ /*! \brief TRUE if we are capable of retransmitting pages */
int retransmit_capable; int retransmit_capable;
#endif
/*! \brief The received DCS, formatted as an ASCII string, for inclusion /*! \brief The received DCS, formatted as an ASCII string, for inclusion
in the TIFF file. */ in the TIFF file. */
@ -71,12 +69,12 @@ struct t30_state_s
/*! \brief The text which will be used in FAX page header. No text results /*! \brief The text which will be used in FAX page header. No text results
in no header line. */ in no header line. */
char header_info[T30_MAX_PAGE_HEADER_INFO + 1]; char header_info[T30_MAX_PAGE_HEADER_INFO + 1];
#if 0
/*! \brief TRUE for FAX page headers to overlay (i.e. replace) the beginning of the /*! \brief TRUE for FAX page headers to overlay (i.e. replace) the beginning of the
page image. FALSE for FAX page headers to add to the overall length of page image. FALSE for FAX page headers to add to the overall length of
the page. */ the page. */
int header_overlays_image; int header_overlays_image;
#endif /*! \brief TRUE if remote T.30 procedural interrupts are allowed. */
int remote_interrupts_allowed;
/*! \brief The information fields received. */ /*! \brief The information fields received. */
t30_exchanged_info_t rx_info; t30_exchanged_info_t rx_info;
@ -207,13 +205,6 @@ struct t30_state_s
/*! \brief This is only used in full duplex (e.g. ISDN) modes. */ /*! \brief This is only used in full duplex (e.g. ISDN) modes. */
int timer_t8; int timer_t8;
/* These fields are guessed based on compiler error forensics, I added them to fix the build -anthm */
int remote_interrupts_allowed;
int rtp_events;
int rtn_events;
int retransmit_capable;
/* end guessed fields */
/*! \brief TRUE once the far end FAX entity has been detected. */ /*! \brief TRUE once the far end FAX entity has been detected. */
int far_end_detected; int far_end_detected;
@ -283,12 +274,10 @@ struct t30_state_s
/*! \brief The current completion status. */ /*! \brief The current completion status. */
int current_status; int current_status;
#if 0
/*! \brief The number of RTP events */ /*! \brief The number of RTP events */
int rtp_events; int rtp_events;
/*! \brief The number of RTN events */ /*! \brief The number of RTN events */
int rtn_events; int rtn_events;
#endif
/*! \brief the FCF2 field of the last PPS message we received. */ /*! \brief the FCF2 field of the last PPS message we received. */
uint8_t last_pps_fcf2; uint8_t last_pps_fcf2;

View File

@ -682,6 +682,10 @@ SPAN_DECLARE(void) t30_get_transfer_statistics(t30_state_t *s, t30_stats_t *t);
\param state TRUE to enable interrupt request, else FALSE. */ \param state TRUE to enable interrupt request, else FALSE. */
SPAN_DECLARE(void) t30_local_interrupt_request(t30_state_t *s, int state); SPAN_DECLARE(void) t30_local_interrupt_request(t30_state_t *s, int state);
/*! Allow remote interrupts of FAX exchange.
\brief Allow remote interrupts of FAX exchange.
\param s The T.30 context.
\param state TRUE to allow interruptd, else FALSE. */
SPAN_DECLARE(void) t30_remote_interrupts_allowed(t30_state_t *s, int state); SPAN_DECLARE(void) t30_remote_interrupts_allowed(t30_state_t *s, int state);
#if defined(__cplusplus) #if defined(__cplusplus)