Main Page | Namespace List | Class List | Directories | File List | Class Members | File Members

auth-options.h

Go to the documentation of this file.
00001 /*      $OpenBSD: auth-options.h,v 1.13 2005/12/06 22:38:27 reyk Exp $  */
00002 
00003 /*
00004  * Author: Tatu Ylonen <ylo@cs.hut.fi>
00005  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
00006  *                    All rights reserved
00007  *
00008  * As far as I am concerned, the code I have written for this software
00009  * can be used freely for any purpose.  Any derived versions of this
00010  * software must be clearly marked as such, and if the derived work is
00011  * incompatible with the protocol description in the RFC file, it must be
00012  * called by a name other than "ssh" or "Secure Shell".
00013  */
00014 
00015 #ifndef AUTH_OPTIONS_H
00016 #define AUTH_OPTIONS_H
00017 
00018 /* Linked list of custom environment strings */
00019 struct envstring {
00020         struct envstring *next;
00021         char   *s;
00022 };
00023 
00024 /* Flags that may be set in authorized_keys options. */
00025 extern int no_port_forwarding_flag;
00026 extern int no_agent_forwarding_flag;
00027 extern int no_x11_forwarding_flag;
00028 extern int no_pty_flag;
00029 extern char *forced_command;
00030 extern struct envstring *custom_environment;
00031 extern int forced_tun_device;
00032 
00033 int     auth_parse_options(struct passwd *, char *, char *, u_long);
00034 void    auth_clear_options(void);
00035 
00036 #endif

© sourcejam.com 2005-2008