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

Diff for /src/usr.bin/ssh/misc.h between version 1.4.2.3 and 1.5

version 1.4.2.3, 2002/06/02 22:56:10 version 1.5, 2001/05/03 23:09:52
Line 11 
Line 11 
  * incompatible with the protocol description in the RFC file, it must be   * incompatible with the protocol description in the RFC file, it must be
  * called by a name other than "ssh" or "Secure Shell".   * called by a name other than "ssh" or "Secure Shell".
  */   */
   /* remove newline at end of string */
   char    *chop(char *s);
   
 char    *chop(char *);  /* return next token in configuration line */
 char    *strdelim(char **);  char    *strdelim(char **s);
 void     set_nonblock(int);  
 void     unset_nonblock(int);  
 void     set_nodelay(int);  
 int      a2port(const char *);  
 char    *cleanhostname(char *);  
 char    *colon(char *);  
 long     convtime(const char *);  
   
 struct passwd *pwcopy(struct passwd *);  /* set filedescriptor to non-blocking */
   void    set_nonblock(int fd);
   
 typedef struct arglist arglist;  struct passwd * pwcopy(struct passwd *pw);
 struct arglist {  
         char    **list;  /*
         int     num;   * Convert ASCII string to TCP/IP port number.
         int     nalloc;   * Port must be >0 and <=65535.
 };   * Return 0 if invalid.
 void     addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3)));   */
   int a2port(const char *s);
   
   /* code from scp.c/rcp.c */
   char *cleanhostname(char *host);
   char *colon(char *cp);

Legend:
Removed from v.1.4.2.3  
changed lines
  Added in v.1.5