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