#include <netx25/x25_proto.h> #include <netx25/xnetdb.h> uint32_t linkidtox25(linkid) unsigned char *linkid;
Converts a character string link identifier to the numeric format used in X.25 primitives, with a range of 0 - 254.
The parameters are:
Table 8-14 linkidtox25 parameters
Parameter |
Description |
---|---|
str_linkid |
A pointer to the string containing the character format link id. |
On success 0 is returned. On failure the value of MAX_LINKID is returned. By default, this is 255.