File: gnutls_priority_get_cipher_suite_index

package info (click to toggle)
gnutls28 3.3.8-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 51,388 kB
  • sloc: ansic: 191,357; asm: 60,370; sh: 21,457; makefile: 5,257; lisp: 1,531; yacc: 1,254; cpp: 1,155; perl: 199; sed: 16
file content (21 lines) | stat: -rw-r--r-- 867 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21




@deftypefun {int} {gnutls_priority_get_cipher_suite_index} (gnutls_priority_t @var{pcache}, unsigned int @var{idx}, unsigned int * @var{sidx})
@var{pcache}: is a @code{gnutls_prioritity_t}  structure.

@var{idx}: is an index number.

@var{sidx}: internal index of cipher suite to get information about.

Provides the internal ciphersuite index to be used with
@code{gnutls_cipher_suite_info()} . The index  @code{idx} provided is an 
index kept at the priorities structure. It might be that a valid
priorities index does not correspond to a ciphersuite and in 
that case @code{GNUTLS_E_UNKNOWN_CIPHER_SUITE}  will be returned. 
Once the last available index is crossed then 
@code{GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE}  will be returned.

@strong{Returns:} On success it returns @code{GNUTLS_E_SUCCESS}  (0), or a negative error value otherwise.
@end deftypefun