summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_dh_params_cpy
blob: 91cb7a702124744a5b5531821812ef4e034fd01e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@deftypefun {int} {gnutls_dh_params_cpy} (gnutls_dh_params_t @var{dst}, gnutls_dh_params_t @var{src})
@var{dst}: Is the destination parameters, which should be initialized.

@var{src}: Is the source parameters

This function will copy the DH parameters structure from source
to destination. The destination should be already initialized.

@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned,
otherwise a negative error code is returned.
@end deftypefun