[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 and 1.4.2.2

version 1.4, 2001/04/12 20:09:36 version 1.4.2.2, 2002/03/09 00:20:44
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);  
   
 /* return next token in configuration line */  char    *chop(char *);
 char    *strdelim(char **s);  char    *strdelim(char **);
   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 *);
   
 /* set filedescriptor to non-blocking */  struct passwd *pwcopy(struct passwd *);
 void    set_nonblock(int fd);  
   
 struct passwd * pwcopy(struct passwd *pw);  typedef struct arglist arglist;
   struct arglist {
 /*          char    **list;
  * Convert ASCII string to TCP/IP port number.          int     num;
  * Port must be >0 and <=65535.          int     nalloc;
  * Return 0 if invalid.  };
  */  void     addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3)));
 int a2port(const char *s);  

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.4.2.2