diff options
Diffstat (limited to 'serverloop.h')
-rw-r--r-- | serverloop.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/serverloop.h b/serverloop.h new file mode 100644 index 000000000..915bffeab --- /dev/null +++ b/serverloop.h | |||
@@ -0,0 +1,20 @@ | |||
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 | /* | ||
13 | * Performs the interactive session. This handles data transmission between | ||
14 | * the client and the program. Note that the notion of stdin, stdout, and | ||
15 | * stderr in this function is sort of reversed: this function writes to stdin | ||
16 | * (of the child program), and reads from stdout and stderr (of the child | ||
17 | * program). | ||
18 | */ | ||
19 | void server_loop(pid_t pid, int fdin, int fdout, int fderr); | ||
20 | void server_loop2(void); | ||