vms_term_sock.h 678 B

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