clientloop.h revision cd7d5faf5bbb52336a6f85578a90b31a648ac3fa
2N/A/*
2N/A * Author: Tatu Ylonen <ylo@cs.hut.fi>
2N/A * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
2N/A * All rights reserved
2N/A *
2N/A * As far as I am concerned, the code I have written for this software
2N/A * can be used freely for any purpose. Any derived versions of this
2N/A * software must be clearly marked as such, and if the derived work is
2N/A * incompatible with the protocol description in the RFC file, it must be
2N/A * called by a name other than "ssh" or "Secure Shell".
2N/A */
2N/A/*
2N/A * Copyright (c) 2001 Markus Friedl. All rights reserved.
2N/A *
2N/A * Redistribution and use in source and binary forms, with or without
2N/A * modification, are permitted provided that the following conditions
2N/A * are met:
2N/A * 1. Redistributions of source code must retain the above copyright
2N/A * notice, this list of conditions and the following disclaimer.
2N/A * 2. Redistributions in binary form must reproduce the above copyright
2N/A * notice, this list of conditions and the following disclaimer in the
2N/A * documentation and/or other materials provided with the distribution.
2N/A *
2N/A * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
2N/A * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2N/A * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2N/A * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2N/A * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2N/A * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2N/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2N/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2N/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2N/A * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2N/A */
2N/A/*
2N/A * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2N/A * Use is subject to license terms.
2N/A */
2N/A
2N/A#ifndef _CLIENTLOOP_H
2N/A#define _CLIENTLOOP_H
2N/A
2N/A#ifdef __cplusplus
2N/Aextern "C" {
2N/A#endif
2N/A
2N/A/* $OpenBSD: clientloop.h,v 1.7 2002/04/22 21:04:52 markus Exp $ */
2N/A
2N/A/* Client side main loop for the interactive session. */
2N/Aint client_loop(int, int, int);
2N/Avoid client_x11_get_proto(const char *, const char *, uint_t,
2N/A char **, char **);
2N/Avoid client_global_request_reply_fwd(int type, u_int32_t seq, void *ctxt);
2N/Avoid client_daemonize(void);
2N/A
2N/A#ifdef __cplusplus
2N/A}
2N/A#endif
2N/A
2N/A#endif /* _CLIENTLOOP_H */
2N/A