Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ X29SetParameters(3X25) — DECnet WAN Support 3.0A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

X29GetParameters(3X25)

X29SetParameters(3X25)  —  Subroutines

Digital

NAME

X29SetParameters − Sets PAD parameters on the remote PAD

LIBRARY

X.25 Library (libx25.a)

SYNOPSIS

#include <netx25/x29.h>
int X29SetParameters(

int td ,
X29Parameter parameterList[] ,
int parameterCount );

 

PARAMETERS

tdIdentifies the X.29 terminal for which the PAD parameters are to be set. 
 

parameterList
Specifies the array of parameters to be set.
 

parameterCount
Specifies the number of parameters to set on remote PAD.
 

DESCRIPTION

The X29SetParameters routine allows you to set the following PAD parameters:

CCITT Library
Reference Parameter
Number Name
1 X29P_ESCAPE
2 X29P_ECHO
3 X29P_FORWARD
4 X29P_IDLE
5 X29P_DEVICE
6 X29P_SIGNALS
7 X29P_BREAK
8 X29P_DISCARD
9 X29P_CRPAD
10 X29P_FOLDING
11 X29P_SPEED
12 X29P_FLOW
13 X29P_LFINSERT
14 X29P_LFPAD
15 X29P_EDIT
16 X29P_CDELETE
17 X29P_LDELETE
18 X29P_LDISPLAY
19 X29P_ESIGNALS
20 X29P_MASK
21 X29P_PARITY
22 X29P_PAGE

Note that the X29SetParameters routine is applicable only to incoming X.29 calls. 
 

RETURN VALUES

Upon successful completion, the X29SetParameters routine returns a value of 0.  Otherwise, a (negative) error code is returned. 
 

ERRORS

 
If the X29SetParameters routine fails, one of the following error codes is returned:

[X25RC_SYSERR]
An operating system error occurred.  The external variable errno is set to indicate the error. 

[X29RC_INVALMSG]
Message not understood by remote PAD.

[X29RC_INVALSEP]
Remote PAD found an invalid parameter separator.

[X29RC_NOPARALT]
PAD parameter cannot be altered.  The parameter in error is specified in parameterList[0].reference. 

[X29RC_NOPARREF]
No such PAD parameter.  The parameter in error is specified in parameterList[0].reference. 

[X29RC_NOPARVAL]
Invalid PAD parameter setting.  The parameter in error is specified in parameterList[0].reference. 

[X29RC_NOTTY]
The terminal specified is not an X.29 terminal.

[X29RC_PARAMERR]
Unspecified PAD parameter error.  The parameter in error is specified in parameterList[0].reference. 

[X29RC_READONLY]
PAD parameter is read-only.  The parameter in error is specified in parameterList[0].reference. 

[X29RC_TIMEDOUT]
The remote PAD did not respond to the request.
 

RELATED INFORMATION

Functions: X29GetParameters(3X25). 

X.25 for Digital UNIX − Programmer’s Reference Manual. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026