gnutls_protocol_get_id(3)

gnutls_protocol_get_id3

Api function

Usage

#include <gnutls/gnutls.h>

gnutls_protocol_t gnutls_protocol_get_id(const char * name);

Arguments

const char * name

is a protocol name

Overview

The names are compared in a case insensitive way.

Returns

an id of the specified protocol, or GNUTLS_VERSION_UNKNOWN on error.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 8 times.

  1. 5.0
  2. 6.0
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13
  9. Arch

Reporting bugs

Report bugs to <[email protected]>.
Home page: https://www.gnutls.org

From gnutls 3.8.13-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.