[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.8 and 1.9

version 1.8, 2001/05/19 19:43:57 version 1.9, 2001/06/26 06:32:56
Line 12 
Line 12 
  * 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 */  /* remove newline at end of string */
 char    *chop(char *s);  char    *chop(char *);
   
 /* return next token in configuration line */  /* return next token in configuration line */
 char    *strdelim(char **s);  char    *strdelim(char **);
   
 /* set/unset filedescriptor to non-blocking */  /* set/unset filedescriptor to non-blocking */
 void    set_nonblock(int fd);  void    set_nonblock(int);
 void    unset_nonblock(int fd);  void    unset_nonblock(int);
   
 struct passwd * pwcopy(struct passwd *pw);  struct passwd * pwcopy(struct passwd *);
   
 /*  /*
  * Convert ASCII string to TCP/IP port number.   * Convert ASCII string to TCP/IP port number.
  * Port must be >0 and <=65535.   * Port must be >0 and <=65535.
  * Return 0 if invalid.   * Return 0 if invalid.
  */   */
 int a2port(const char *s);  int a2port(const char *);
   
 /* code from scp.c/rcp.c */  /* code from scp.c/rcp.c */
 char *cleanhostname(char *host);  char *cleanhostname(char *);
 char *colon(char *cp);  char *colon(char *);
   
 /*  /*
  * Convert a time string into seconds; format is   * Convert a time string into seconds; format is
Line 56 
Line 56 
  * Return -1 if time string is invalid.   * Return -1 if time string is invalid.
  */   */
   
 long convtime(const char *s);  long convtime(const char *);
   
 /* function to assist building execv() arguments */  /* function to assist building execv() arguments */
 typedef struct arglist arglist;  typedef struct arglist arglist;
Line 66 
Line 66 
         int     nalloc;          int     nalloc;
 };  };
   
 void addargs(arglist *args, char *fmt, ...) __attribute__((format(printf, 2, 3)));  void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3)));

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