File: gnutls_ext_get_current_msg

package info (click to toggle)
gnutls28 3.8.12-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 82,380 kB
  • sloc: ansic: 392,233; asm: 117,804; sh: 18,758; makefile: 6,804; yacc: 1,858; python: 1,399; cpp: 1,243; perl: 995; sed: 39
file content (18 lines) | stat: -rw-r--r-- 662 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18




@deftypefun {unsigned} {gnutls_ext_get_current_msg} (gnutls_session_t @var{session})
@var{session}: a @code{gnutls_session_t}  opaque pointer

This function allows an extension handler to obtain the message
this extension is being called from. The returned value is a single
entry of the @code{gnutls_ext_flags_t}  enumeration. That is, if an
extension was registered with the @code{GNUTLS_EXT_FLAG_HRR}  and
@code{GNUTLS_EXT_FLAG_EE}  flags, the value when called during parsing of the
encrypted extensions message will be @code{GNUTLS_EXT_FLAG_EE} .

If not called under an extension handler, its value is undefined.

@strong{Since:} 3.6.3
@end deftypefun