misc.h (181110) | misc.h (181111) |
---|---|
1/* $OpenBSD: misc.h,v 1.36 2006/08/18 10:27:16 djm Exp $ */ | 1/* $OpenBSD: misc.h,v 1.38 2008/06/12 20:38:28 dtucker Exp $ */ |
2 3/* 4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 6 * All rights reserved 7 * 8 * As far as I am concerned, the code I have written for this software 9 * can be used freely for any purpose. Any derived versions of this --- 18 unchanged lines hidden (view full) --- 28char *hpdelim(char **); 29char *cleanhostname(char *); 30char *colon(char *); 31long convtime(const char *); 32char *tilde_expand_filename(const char *, uid_t); 33char *percent_expand(const char *, ...) __attribute__((__sentinel__)); 34char *tohex(const void *, size_t); 35void sanitise_stdfd(void); | 2 3/* 4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 6 * All rights reserved 7 * 8 * As far as I am concerned, the code I have written for this software 9 * can be used freely for any purpose. Any derived versions of this --- 18 unchanged lines hidden (view full) --- 28char *hpdelim(char **); 29char *cleanhostname(char *); 30char *colon(char *); 31long convtime(const char *); 32char *tilde_expand_filename(const char *, uid_t); 33char *percent_expand(const char *, ...) __attribute__((__sentinel__)); 34char *tohex(const void *, size_t); 35void sanitise_stdfd(void); |
36void ms_subtract_diff(struct timeval *, int *); 37void ms_to_timeval(struct timeval *, int); |
|
36 37struct passwd *pwcopy(struct passwd *); | 38 39struct passwd *pwcopy(struct passwd *); |
40const char *ssh_gai_strerror(int); |
|
38 39typedef struct arglist arglist; 40struct arglist { 41 char **list; 42 u_int num; 43 u_int nalloc; 44}; 45void addargs(arglist *, char *, ...) --- 45 unchanged lines hidden --- | 41 42typedef struct arglist arglist; 43struct arglist { 44 char **list; 45 u_int num; 46 u_int nalloc; 47}; 48void addargs(arglist *, char *, ...) --- 45 unchanged lines hidden --- |