t30_logging.h File Reference

Go to the source code of this file.

Functions

const char * t30_frametype (uint8_t x)
 Return a text name for a T.30 frame type.
void t30_decode_dis_dtc_dcs (t30_state_t *s, const uint8_t *dis, int len)
 Decode a DIS, DTC or DCS frame, and log the contents.
const char * t30_completion_code_to_str (int result)
 Convert a phase E completion code to a short text description.


Detailed Description


Function Documentation

const char* t30_completion_code_to_str ( int  result  ) 

void t30_decode_dis_dtc_dcs ( t30_state_t s,
const uint8_t *  dis,
int  len 
)

Decode a DIS, DTC or DCS frame, and log the contents.

Decode a DIS, DTC or DCS frame, and log the contents.

Parameters:
s The T.30 context.
dis A pointer to the frame to be decoded.
len The length of the frame.

References t30_state_s::logging, span_log(), span_log_test(), T30_DCS, and t30_frametype().

const char* t30_frametype ( uint8_t  x  ) 

Return a text name for a T.30 frame type.

Return a text name for a T.30 frame type.

Parameters:
x The frametype octet.
Returns:
A pointer to the text name for the frame type. If the frame type is not value, the string "???" is returned.

References T30_CFR, T30_CIA, T30_CIG, T30_CRP, T30_CSA, T30_CSI, T30_CTC, T30_CTR, T30_DCN, T30_DCS, T30_DEC, T30_DER, T30_DES, T30_DIS, T30_DNK, T30_DTC, T30_DTR, T30_EOM, T30_EOP, T30_EOR, T30_EOS, T30_ERR, T30_FDM, T30_FNV, T30_FTT, T30_IRA, T30_ISP, T30_MCF, T30_MPS, T30_NSC, T30_NSF, T30_NSS, T30_NULL, T30_PID, T30_PIN, T30_PIP, T30_PPR, T30_PPS, T30_PRI_EOM, T30_PRI_EOP, T30_PRI_MPS, T30_PSA, T30_PSS, T30_PWD, T30_RK, T30_RNR, T30_RR, T30_RTN, T30_RTP, T30_SEP, T30_SID, T30_SUB, T30_TK, T30_TNR, T30_TR, T30_TSA, T30_TSI, T4_FCD, and T4_RCP.

Referenced by t30_decode_dis_dtc_dcs().


Generated on Tue Oct 7 20:25:52 2008 for spandsp by  doxygen 1.5.6