2016-09-15 02:52:03 +08:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
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
|