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