libnetconf  0.10.0-3_trunk
NETCONF Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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
48 extern "C" {
49 #endif
50 
55 typedef enum
56 {
61 
82 void nc_ssh_pref(NC_SSH_AUTH_TYPE type, short int preference);
83 
84 #ifndef DISABLE_LIBSSH
85 
86 struct 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 
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.
Definition: libnetconf_ssh.h:58
NC_SSH_AUTH_TYPE
Available SSH authentication mechanisms.
Definition: libnetconf_ssh.h:55
void nc_ssh_pref(NC_SSH_AUTH_TYPE type, short int preference)
Set the preference of the SSH authentication methods.
Definition: libnetconf_ssh.h:57
Functions to set libssh's callbacks.
Functions to connect NETCONF server to a NETCONF client (Call Home).
Definition: libnetconf_ssh.h:59