vms_term_sock.h 678 字节
Newer Older
1 2 3 4 5 6 7 8 9
/*
 * Copyright 2016 VMS Software, Inc. All Rights Reserved.
 *
 * Licensed under the OpenSSL license (the "License").  You may not use
 * this file except in compliance with the License.  You can obtain a copy
 * in the file LICENSE in the source distribution or at
 * https://www.openssl.org/source/license.html
 */

10
#ifndef TERM_SOCK_H
11
# define TERM_SOCK_H
12 13 14 15

/*
** Terminal Socket Function Codes
*/
16 17
# define TERM_SOCK_CREATE       1
# define TERM_SOCK_DELETE       2
18 19 20 21

/*
** Terminal Socket Status Codes
*/
22 23
# define TERM_SOCK_FAILURE      0
# define TERM_SOCK_SUCCESS      1
24 25 26 27 28 29 30

/*
** Terminal Socket Prototype
*/
int TerminalSocket (int FunctionCode, int *ReturnSocket);

#endif