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