libssh 0.12.0
The SSH library
Loading...
Searching...
No Matches
dh-gex.h
1/*
2 * This file is part of the SSH Library
3 *
4 * Copyright (c) 2016 by Aris Adamantiadis <aris@0xbadc0de.be>
5 *
6 * The SSH Library is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or (at your
9 * option) any later version.
10 *
11 * The SSH Library is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14 * License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with the SSH Library; see the file COPYING. If not, write to
18 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
19 * MA 02111-1307, USA.
20 */
21
22
23#ifndef SRC_DH_GEX_H_
24#define SRC_DH_GEX_H_
25
26#include "config.h"
27
28#include "libssh/libssh.h"
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34int ssh_client_dhgex_init(ssh_session session);
35void ssh_client_dhgex_remove_callbacks(ssh_session session);
36
37#ifdef WITH_SERVER
38void ssh_server_dhgex_init(ssh_session session);
39#endif /* WITH_SERVER */
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif /* SRC_DH_GEX_H_ */