rtxTBCD.h File Reference

Telephony binary-decimal conversion functions. More...

#include "rtxsrc/rtxContext.h"

Go to the source code of this file.

Functions

EXTERNRT int rtxQ825TBCDToString (OSSIZE numocts, const OSOCTET *data, char *buffer, OSSIZE bufsiz)
 This function converts a Q.825 TBCD value to a standard null-terminated string.
EXTERNRT int rtxDecQ825TBCDString (OSCTXT *pctxt, OSSIZE numocts, char *buffer, OSSIZE bufsiz)
 This function decodes a Q.825 TBCD value to a standard null-terminated string.
EXTERNRT int rtxEncQ825TBCDString (OSCTXT *pctxt, const char *str)
 This function encodes a null-terminated string Q.825 TBCD string.
EXTERNRT int rtxTBCDBinToChar (OSUINT8 bcdDigit, char *pdigit)
 This function converts a TBCD binary character into its ASCII equivalent.
EXTERNRT int rtxTBCDCharToBin (char digit, OSUINT8 *pbyte)
 This function converts a TBCD character ('0'-'9',"*#abc") into its binary equivalent.

Detailed Description

Telephony binary-decimal conversion functions.

Definition in file rtxTBCD.h.