2016-09-15 02:52:03 +08:00
|
|
|
/*
|
2017-06-16 00:03:40 +08:00
|
|
|
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
2016-09-15 02:52:03 +08:00
|
|
|
* Copyright 2016 VMS Software, Inc. All Rights Reserved.
|
|
|
|
*
|
2018-12-06 20:00:26 +08:00
|
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-09-15 02:52:03 +08:00
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
2016-08-04 03:16:43 +08:00
|
|
|
#ifndef TERM_SOCK_H
|
2016-09-15 02:54:30 +08:00
|
|
|
# define TERM_SOCK_H
|
2016-08-04 03:16:43 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
** Terminal Socket Function Codes
|
|
|
|
*/
|
2016-09-15 02:54:30 +08:00
|
|
|
# define TERM_SOCK_CREATE 1
|
|
|
|
# define TERM_SOCK_DELETE 2
|
2016-08-04 03:16:43 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
** Terminal Socket Status Codes
|
|
|
|
*/
|
2016-09-15 02:54:30 +08:00
|
|
|
# define TERM_SOCK_FAILURE 0
|
|
|
|
# define TERM_SOCK_SUCCESS 1
|
2016-08-04 03:16:43 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
** Terminal Socket Prototype
|
|
|
|
*/
|
|
|
|
int TerminalSocket (int FunctionCode, int *ReturnSocket);
|
|
|
|
|
|
|
|
#endif
|