port-irix.h revision 181110
1130179Sdas/* $Id: port-irix.h,v 1.4 2003/08/29 16:59:52 mouring Exp $ */
2130179Sdas
3130179Sdas/*
4130179Sdas * Copyright (c) 2000 Denis Parker.  All rights reserved.
5130179Sdas * Copyright (c) 2000 Michael Stone.  All rights reserved.
6130179Sdas *
7130179Sdas * Redistribution and use in source and binary forms, with or without
8130179Sdas * modification, are permitted provided that the following conditions
9130179Sdas * are met:
10130179Sdas * 1. Redistributions of source code must retain the above copyright
11130179Sdas *    notice, this list of conditions and the following disclaimer.
12130179Sdas * 2. Redistributions in binary form must reproduce the above copyright
13130179Sdas *    notice, this list of conditions and the following disclaimer in the
14130179Sdas *    documentation and/or other materials provided with the distribution.
15130179Sdas *
16130179Sdas * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17130179Sdas * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18130179Sdas * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19130179Sdas * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20130179Sdas * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21130179Sdas * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22130179Sdas * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23130179Sdas * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24130179Sdas * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25130179Sdas * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26130179Sdas */
27130179Sdas
28130179Sdas#ifndef _PORT_IRIX_H
29130179Sdas#define _PORT_IRIX_H
30130179Sdas
31130179Sdas#if defined(WITH_IRIX_PROJECT) || \
32130179Sdas    defined(WITH_IRIX_JOBS) || \
33130179Sdas    defined(WITH_IRIX_ARRAY)
34130179Sdas
35130179Sdasvoid irix_setusercontext(struct passwd *pw);
36130179Sdas
37140188Sdas#endif /* defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) */
38130179Sdas
39130179Sdas#endif /* ! _PORT_IRIX_H */
40130179Sdas