libnetconf 0.10.0-0.10.0
NETCONF Library
Loading...
Searching...
No Matches
libnetconf_ssh.h
Go to the documentation of this file.
1
40#ifndef LIBNETCONF_SSH_H_
41#define LIBNETCONF_SSH_H_
42
43#include "callbacks_ssh.h"
44#include "transport.h"
45#include "callhome.h"
46
47#ifdef __cplusplus
48extern "C" {
49#endif
50
61
82void nc_ssh_pref(NC_SSH_AUTH_TYPE type, short int preference);
83
84#ifndef DISABLE_LIBSSH
85
86struct nc_session *nc_session_accept_libssh_channel(const struct nc_cpblts* capabilities, const char* username, ssh_channel ssh_chan);
87
88#endif
89
90#ifdef __cplusplus
91}
92#endif
93
94#endif /* LIBNETCONF_H_ */
95
Functions to set libssh's callbacks.
Functions to connect NETCONF server to a NETCONF client (Call Home).
void nc_ssh_pref(NC_SSH_AUTH_TYPE type, short int preference)
Set the preference of the SSH authentication methods.
NC_SSH_AUTH_TYPE
Available SSH authentication mechanisms.
Definition libnetconf_ssh.h:56
@ NC_SSH_AUTH_PUBLIC_KEYS
Definition libnetconf_ssh.h:57
@ NC_SSH_AUTH_INTERACTIVE
Definition libnetconf_ssh.h:59
@ NC_SSH_AUTH_PASSWORD
Definition libnetconf_ssh.h:58
struct nc_session * nc_session_accept_libssh_channel(const struct nc_cpblts *capabilities, const char *username, ssh_channel ssh_chan)
Functions implementing transport layer for NETCONF.