mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
0d3b65832c
This is needed, because on VMS, select() can only be used on sockets. being able to use select() on all kinds of file descriptors is unique to Unix. So, the solution for VMS is to create a layer that translates input from standard input to socket communication. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
22 lines
332 B
C
22 lines
332 B
C
#ifndef TERM_SOCK_H
|
|
#define TERM_SOCK_H
|
|
|
|
/*
|
|
** Terminal Socket Function Codes
|
|
*/
|
|
#define TERM_SOCK_CREATE 1
|
|
#define TERM_SOCK_DELETE 2
|
|
|
|
/*
|
|
** Terminal Socket Status Codes
|
|
*/
|
|
#define TERM_SOCK_FAILURE 0
|
|
#define TERM_SOCK_SUCCESS 1
|
|
|
|
/*
|
|
** Terminal Socket Prototype
|
|
*/
|
|
int TerminalSocket (int FunctionCode, int *ReturnSocket);
|
|
|
|
#endif
|