[BACK]Return to channels.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/channels.h between version 1.7 and 1.8

version 1.7, 2000/03/28 20:31:26 version 1.8, 2000/04/03 07:07:15
Line 30 
Line 30 
         /* peer can be reached over encrypted connection, via packet-sent */          /* peer can be reached over encrypted connection, via packet-sent */
         int     istate;         /* input from channel (state of receive half) */          int     istate;         /* input from channel (state of receive half) */
         int     ostate;         /* output to channel  (state of transmit half) */          int     ostate;         /* output to channel  (state of transmit half) */
           int     flags;          /* close sent/rcvd */
         int     rfd;            /* read fd */          int     rfd;            /* read fd */
         int     wfd;            /* write fd */          int     wfd;            /* write fd */
         int     efd;            /* extended fd */          int     efd;            /* extended fd */
Line 66 
Line 67 
 #define CHAN_EXTENDED_READ              1  #define CHAN_EXTENDED_READ              1
 #define CHAN_EXTENDED_WRITE             2  #define CHAN_EXTENDED_WRITE             2
   
   void    channel_set_fds(int id, int rfd, int wfd, int efd, int extusage);
 void    channel_open(int id);  void    channel_open(int id);
   void    channel_request(int id, char *service, int wantconfirm);
   void    channel_request_start(int id, char *service, int wantconfirm);
   void    channel_register_callback(int id, int mtype, channel_callback_fn *fn, void *arg);
   void    channel_register_cleanup(int id, channel_callback_fn *fn);
   void    channel_cancel_cleanup(int id);
 Channel *channel_lookup(int id);  Channel *channel_lookup(int id);
   
 int  int
 channel_new(char *ctype, int type, int rfd, int wfd, int efd,  channel_new(char *ctype, int type, int rfd, int wfd, int efd,
     int window, int maxpack, int extended_usage, char *remote_name);      int window, int maxpack, int extended_usage, char *remote_name);
   
   void    channel_input_channel_request(int type, int plen);
 void    channel_input_close(int type, int plen);  void    channel_input_close(int type, int plen);
 void    channel_input_close_confirmation(int type, int plen);  void    channel_input_close_confirmation(int type, int plen);
 void    channel_input_data(int type, int plen);  void    channel_input_data(int type, int plen);
   void    channel_input_extended_data(int type, int plen);
 void    channel_input_ieof(int type, int plen);  void    channel_input_ieof(int type, int plen);
 void    channel_input_oclose(int type, int plen);  void    channel_input_oclose(int type, int plen);
 void    channel_input_open_confirmation(int type, int plen);  void    channel_input_open_confirmation(int type, int plen);
 void    channel_input_open_failure(int type, int plen);  void    channel_input_open_failure(int type, int plen);
 void    channel_input_port_open(int type, int plen);  void    channel_input_port_open(int type, int plen);
   void    channel_input_window_adjust(int type, int plen);
 void    channel_input_open(int type, int plen);  void    channel_input_open(int type, int plen);
   
 /* Sets specific protocol options. */  /* Sets specific protocol options. */
Line 217 
Line 227 
   
 /* This is called to process an SSH_SMSG_AGENT_OPEN message. */  /* This is called to process an SSH_SMSG_AGENT_OPEN message. */
 void    auth_input_open_request(int type, int plen);  void    auth_input_open_request(int type, int plen);
   
   /* XXX */
   int     channel_connect_to(const char *host, u_short host_port);
   
 #endif  #endif

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8