diff options
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | ||
3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | ||
4 | * All rights reserved | ||
5 | * | ||
6 | * As far as I am concerned, the code I have written for this software | ||
7 | * can be used freely for any purpose. Any derived versions of this | ||
8 | * software must be clearly marked as such, and if the derived work is | ||
9 | * incompatible with the protocol description in the RFC file, it must be | ||
10 | * called by a name other than "ssh" or "Secure Shell". | ||
11 | */ | ||
12 | /* remove newline at end of string */ | ||
13 | char *chop(char *s); | ||
14 | |||
15 | /* return next token in configuration line */ | ||
16 | char *strdelim(char **s); | ||
17 | |||
18 | /* set filedescriptor to non-blocking */ | ||
19 | void set_nonblock(int fd); | ||