00001 /* 00002 * This file is part of RTRlib. 00003 * 00004 * This file is subject to the terms and conditions of the MIT license. 00005 * See the file LICENSE in the top level directory for more details. 00006 * 00007 * Website: http://rtrlib.realmv6.org/ 00008 */ 00009 00025 #ifndef SSH_TRANSPORT_H 00026 #define SSH_TRANSPORT_H 00027 00028 #include "rtrlib/transport/transport.h" 00029 00042 struct tr_ssh_config { 00043 char *host; 00044 unsigned int port; 00045 char *bindaddr; 00046 char *username; 00047 char *server_hostkey_path; 00048 char *client_privkey_path; 00049 }; 00050 00058 int tr_ssh_init(const struct tr_ssh_config *config, struct tr_socket *socket); 00059 00060 #endif 00061 /* @} */
1.6.1