vms_term_sock.h 777 B

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