Go to the source code of this file.
Functions | |
int | t35_decode (const uint8_t *msg, int len, const char **country, const char **vendor, const char **model) |
Decode an NSF field. | |
Variables | |
const char * | t35_country_codes [256] |
int t35_decode | ( | const uint8_t * | msg, | |
int | len, | |||
const char ** | country, | |||
const char ** | vendor, | |||
const char ** | model | |||
) |
Decode an NSF field.
Decode an NSF field to try to determine the make and model of the remote machine.
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. |
References t35_country_codes.
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.
Referenced by t35_decode().