diff options
author | Damien Miller <djm@mindrot.org> | 2013-10-15 12:14:12 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2013-10-15 12:14:12 +1100 |
commit | e9fc72edd6c313b670558cd5219601c38a949b67 (patch) | |
tree | 32ed93978e93622d5829a55cbc0479e00b1161bf /misc.h | |
parent | 194fd904d8597a274b93e075b2047afdf5a175d4 (diff) |
- djm@cvs.openbsd.org 2013/10/14 23:28:23
[canohost.c misc.c misc.h readconf.c sftp-server.c ssh.c]
refactor client config code a little:
add multistate option partsing to readconf.c, similar to servconf.c's
existing code.
move checking of options that accept "none" as an argument to readconf.c
add a lowercase() function and use it instead of explicit tolower() in
loops
part of a larger diff that was ok markus@
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.h,v 1.49 2013/06/01 13:15:52 dtucker Exp $ */ | 1 | /* $OpenBSD: misc.h,v 1.50 2013/10/14 23:28:23 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -36,6 +36,8 @@ void sanitise_stdfd(void); | |||
36 | void ms_subtract_diff(struct timeval *, int *); | 36 | void ms_subtract_diff(struct timeval *, int *); |
37 | void ms_to_timeval(struct timeval *, int); | 37 | void ms_to_timeval(struct timeval *, int); |
38 | time_t monotime(void); | 38 | time_t monotime(void); |
39 | void lowercase(char *s); | ||
40 | |||
39 | void sock_set_v6only(int); | 41 | void sock_set_v6only(int); |
40 | 42 | ||
41 | struct passwd *pwcopy(struct passwd *); | 43 | struct passwd *pwcopy(struct passwd *); |