SSL_CTX_ctrl.pod 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. =pod
  2. =head1 NAME
  3. SSL_CTX_ctrl, SSL_CTX_callback_ctrl, SSL_ctrl, SSL_callback_ctrl - internal handling functions for SSL_CTX and SSL objects
  4. =head1 SYNOPSIS
  5. #include <openssl/ssl.h>
  6. long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);
  7. long SSL_CTX_callback_ctrl(SSL_CTX *, int cmd, void (*fp)());
  8. long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg);
  9. long SSL_callback_ctrl(SSL *, int cmd, void (*fp)());
  10. =head1 DESCRIPTION
  11. The SSL_*_ctrl() family of functions is used to manipulate settings of
  12. the SSL_CTX and SSL objects. Depending on the command B<cmd> the arguments
  13. B<larg>, B<parg>, or B<fp> are evaluated. These functions should never
  14. be called directly. All functionalities needed are made available via
  15. other functions or macros.
  16. =head1 RETURN VALUES
  17. The return values of the SSL*_ctrl() functions depend on the command
  18. supplied via the B<cmd> parameter.
  19. =head1 SEE ALSO
  20. L<ssl(7)>
  21. =head1 COPYRIGHT
  22. Copyright 2001-2016 The OpenSSL Project Authors. All Rights Reserved.
  23. Licensed under the Apache License 2.0 (the "License"). You may not use
  24. this file except in compliance with the License. You can obtain a copy
  25. in the file LICENSE in the source distribution or at
  26. L<https://www.openssl.org/source/license.html>.
  27. =cut