src/vsl_ssh.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2006, Internet2
00003  * Legal conditions are in file LICENSE
00004  * (MD5 = c434f2e53b8089d8b4d0172c7ce07360).
00005  */
00006 
00007 /**
00008  * @file   vsl_ssh.h
00009  * @author Nikolaus Rath
00010  * @brief  Header for SSH Starting Mode handshake
00011  *
00012  **/
00013 
00014 #ifndef VSL_SSH_H
00015 #define VSL_SSH_H
00016 
00017 #include "vsl_api.h"
00018 
00019 // Prototypes
00020 int ssh_fork(vsl_sock* sock, const char* host, const char* user,
00021              const char* cmd, int argc, const char* const* argv);
00022 int ssh_send_secret  (vsl_sock* sock, const unsigned char* secret);
00023 int ssh_read_port    (vsl_sock* sock, int *port);
00024 int ssh_vfer_connect (vsl_sock* sock, const char* host, int port);
00025 int ssh_close        (vsl_sock* sock, char* errmsg);
00026 int ssh_read_secret  (unsigned char* secret);
00027 int ssh_send_port    (int port);
00028 int ssh_vfer_listen  (vsl_sock* sock, int* port);
00029 int ssh_vfer_accept  (vsl_sock* sock);
00030 int ssh_daemonize    (void);
00031 
00032 #endif
00033 
00034 /*
00035  * Local Variables:
00036  * compile-command: "cd ..; make tests file_xfer"
00037  * compilation-search-path: ("..")
00038  * End:
00039  */

Generated on Tue Aug 8 16:07:20 2006 for VFER by  doxygen 1.4.7