#include <netx25/x25_proto.h>
#include <netx25/xnetdb.h>
int x25tolinkid(linkid, str_linkid)
uint32_t linkid;
unsigned char *str_linkid;
Converts a link identifier of the numeric format used in X.25 primitives to a character string.
The parameters are:
Table 8-27 x25tolinkid parameters|
Parameters |
Description |
|---|---|
|
linkid |
The numeric format link identifier. |
|
str_linkid |
A pointer to the string that is to contain the character format link identifier |
On success 0 is returned. On failure -1 is returned.