summaryrefslogtreecommitdiff
path: root/apps/include/vms_term_sock.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-08-28 22:27:47 +0200
committerRichard Levitte <levitte@openssl.org>2019-09-04 17:26:07 +0200
commit2ad75c6c1341db8a3122bbeaf863440057d71307 (patch)
treefbcb1a16b4410414083f21ddaa92aa8e450a0baa /apps/include/vms_term_sock.h
parent1e8e75d18be8856e753a57771754b9926c3f4264 (diff)
downloadopenssl-new-2ad75c6c1341db8a3122bbeaf863440057d71307.tar.gz
Move libapps.a source to apps/lib
This makes it clearer what's what. The 'openssl' application and its sub-commands remain in apps/ Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/9723)
Diffstat (limited to 'apps/include/vms_term_sock.h')
-rw-r--r--apps/include/vms_term_sock.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/apps/include/vms_term_sock.h b/apps/include/vms_term_sock.h
new file mode 100644
index 0000000000..d4c7c3d160
--- /dev/null
+++ b/apps/include/vms_term_sock.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2016 VMS Software, Inc. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (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
+ */
+
+#ifndef TERM_SOCK_H
+# define TERM_SOCK_H
+
+/*
+** Terminal Socket Function Codes
+*/
+# define TERM_SOCK_CREATE 1
+# define TERM_SOCK_DELETE 2
+
+/*
+** Terminal Socket Status Codes
+*/
+# define TERM_SOCK_FAILURE 0
+# define TERM_SOCK_SUCCESS 1
+
+/*
+** Terminal Socket Prototype
+*/
+int TerminalSocket (int FunctionCode, int *ReturnSocket);
+
+#endif