summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_db_set_remove_function
blob: 167445881b762aea384c3e54d96662160a5a541c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@deftypefun {void} {gnutls_db_set_remove_function} (gnutls_session_t @var{session}, gnutls_db_remove_func @var{rem_func})
@var{session}: is a @code{gnutls_session_t}  type.

@var{rem_func}: is the function.

Sets the function that will be used to remove data from the
resumed sessions database. This function must return 0 on success.

The first argument to  @code{rem_func} will be null unless
@code{gnutls_db_set_ptr()}  has been called.
@end deftypefun