From 5d3573ef7a109ee70416fe94db098fe6a769a798 Mon Sep 17 00:00:00 2001 From: SkyperTHC Date: Tue, 3 Mar 2026 06:28:55 +0000 Subject: packetstorm sync --- other/ssharp/serverloop.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 other/ssharp/serverloop.h (limited to 'other/ssharp/serverloop.h') diff --git a/other/ssharp/serverloop.h b/other/ssharp/serverloop.h new file mode 100644 index 0000000..4609403 --- /dev/null +++ b/other/ssharp/serverloop.h @@ -0,0 +1,30 @@ +/* $OpenBSD: serverloop.h,v 1.2 2001/01/29 01:58:17 niklas Exp $ */ + +/* + * Author: Tatu Ylonen + * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland + * All rights reserved + * + * As far as I am concerned, the code I have written for this software + * can be used freely for any purpose. Any derived versions of this + * software must be clearly marked as such, and if the derived work is + * incompatible with the protocol description in the RFC file, it must be + * called by a name other than "ssh" or "Secure Shell". + */ +/* + * Performs the interactive session. This handles data transmission between + * the client and the program. Note that the notion of stdin, stdout, and + * stderr in this function is sort of reversed: this function writes to stdin + * (of the child program), and reads from stdout and stderr (of the child + * program). + */ +#ifndef __SERVERLOOP_H__ +#define __SERVERLOOP_H__ + +#include "auth.h" + +void server_loop(pid_t pid, int fdin, int fdout, int fderr); +void server_loop2(Authctxt *); + +#endif + -- cgit v1.3