1 /* 2 * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. 3 * Copyright 2016 VMS Software, Inc. All Rights Reserved. 4 * 5 * Licensed under the Apache License 2.0 (the "License"). You may not use 6 * this file except in compliance with the License. You can obtain a copy 7 * in the file LICENSE in the source distribution or at 8 * https://www.openssl.org/source/license.html 9 */ 10 11 #ifndef OSSL_APPS_VMS_TERM_SOCK_H 12 # define OSSL_APPS_VMS_TERM_SOCK_H 13 14 /* 15 ** Terminal Socket Function Codes 16 */ 17 # define TERM_SOCK_CREATE 1 18 # define TERM_SOCK_DELETE 2 19 20 /* 21 ** Terminal Socket Status Codes 22 */ 23 # define TERM_SOCK_FAILURE 0 24 # define TERM_SOCK_SUCCESS 1 25 26 /* 27 ** Terminal Socket Prototype 28 */ 29 int TerminalSocket (int FunctionCode, int *ReturnSocket); 30 31 #endif 32