xref: /freebsd/libexec/rpc.rusersd/extern.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1eccad222SEd Schouten /*-
2*8a16b7a1SPedro F. Giffuni  * SPDX-License-Identifier: BSD-3-Clause
3*8a16b7a1SPedro F. Giffuni  *
4eccad222SEd Schouten  * Copyright (c) 1993, John Brezak
5eccad222SEd Schouten  * All rights reserved.
6eccad222SEd Schouten  *
7eccad222SEd Schouten  * Redistribution and use in source and binary forms, with or without
8eccad222SEd Schouten  * modification, are permitted provided that the following conditions
9eccad222SEd Schouten  * are met:
10eccad222SEd Schouten  * 1. Redistributions of source code must retain the above copyright
11eccad222SEd Schouten  *    notice, this list of conditions and the following disclaimer.
12eccad222SEd Schouten  * 2. Redistributions in binary form must reproduce the above copyright
13eccad222SEd Schouten  *    notice, this list of conditions and the following disclaimer in the
14eccad222SEd Schouten  *    documentation and/or other materials provided with the distribution.
155efaea4cSChristian Brueffer  * 3. Neither the name of the University nor the names of its contributors
16eccad222SEd Schouten  *    may be used to endorse or promote products derived from this software
17eccad222SEd Schouten  *    without specific prior written permission.
18eccad222SEd Schouten  *
19eccad222SEd Schouten  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20eccad222SEd Schouten  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21eccad222SEd Schouten  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22eccad222SEd Schouten  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23eccad222SEd Schouten  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24eccad222SEd Schouten  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25eccad222SEd Schouten  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26eccad222SEd Schouten  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27eccad222SEd Schouten  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28eccad222SEd Schouten  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29eccad222SEd Schouten  * SUCH DAMAGE.
30eccad222SEd Schouten  */
31eccad222SEd Schouten 
32eccad222SEd Schouten extern int from_inetd;
33eccad222SEd Schouten 
34eccad222SEd Schouten void rusers_service(struct svc_req *, SVCXPRT *);
35