Main Page | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

t35.h File Reference

Go to the source code of this file.

Functions

 SPAN_DECLARE (int) t35_decode(const uint8_t *msg
 Decode an NSF field.

Variables

const char * t35_country_codes [256]
int len
int const char ** country
int const char const char ** vendor
int const char const char
const char ** 
model


Detailed Description


Function Documentation

SPAN_DECLARE int   )  const
 

Decode an NSF field.

Decode an NSF field to try to determine the make and model of the remote machine.

Parameters:
msg The NSF message.
len The length of the NSF message.
country A pointer which will be pointed to the identified country of origin. If a NULL pointer is given, the country of origin will not be returned. If the country of origin is not identified, NULL will be returned.
vendor A pointer which will be pointed to the identified vendor. If a NULL pointer is given, the vendor ID will not be returned. If the vendor is not identified, NULL will be returned.
model A pointer which will be pointed to the identified model. If a NULL pointer is given, the model will not be returned. If the model is not identified, NULL will be returned.
Returns:
TRUE if the machine was identified, otherwise FALSE.


Variable Documentation

const char* t35_country_codes[256]
 

A table of the country names associated with each possible value of the T.35 country code selector octet.


Generated on Fri Aug 28 20:12:28 2009 for spandsp by  doxygen 1.3.9.1