2
0

DTLS_set_timer_cb.pod 913 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. =pod
  2. =head1 NAME
  3. DTLS_timer_cb,
  4. DTLS_set_timer_cb
  5. - Set callback for controlling DTLS timer duration
  6. =head1 SYNOPSIS
  7. #include <openssl/ssl.h>
  8. typedef unsigned int (*DTLS_timer_cb)(SSL *s, unsigned int timer_us);
  9. void DTLS_set_timer_cb(SSL *s, DTLS_timer_cb cb);
  10. =head1 DESCRIPTION
  11. This function sets an optional callback function for controlling the
  12. timeout interval on the DTLS protocol. The callback function will be
  13. called by DTLS for every new DTLS packet that is sent.
  14. =head1 RETURN VALUES
  15. Returns void.
  16. =head1 HISTORY
  17. This function was added in OpenSSL 1.1.1
  18. =head1 COPYRIGHT
  19. Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
  20. Licensed under the OpenSSL license (the "License"). You may not use
  21. this file except in compliance with the License. You can obtain a copy
  22. in the file LICENSE in the source distribution or at
  23. L<https://www.openssl.org/source/license.html>.
  24. =cut