Solstice X.25 9.2 Developer's Guide

8.26 x25tolinkid--Convert Numeric Link Identifier to String

Synopsis
#include <netx25/x25_proto.h>
 #include <netx25/xnetdb.h>

    int x25tolinkid(linkid, str_linkid)
uint32_t linkid;
unsigned char *str_linkid;
Description

Converts a link identifier of the numeric format used in X.25 primitives to a character string.

Arguments

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 

Return Values

On success 0 is returned. On failure -1 is returned.