FSMisc.c revision ba6a1819
1ba6a1819Smrg/* $Xorg: FSMisc.c,v 1.4 2001/02/09 02:03:25 xorgcvs Exp $ */ 2ba6a1819Smrg 3ba6a1819Smrg/* @(#)FSMisc.c 4.1 91/05/02 4ba6a1819Smrg * Copyright 1990 Network Computing Devices; 5ba6a1819Smrg * Portions Copyright 1987 by Digital Equipment Corporation 6ba6a1819Smrg * 7ba6a1819Smrg * Permission to use, copy, modify, distribute, and sell this software 8ba6a1819Smrg * and its documentation for any purpose is hereby granted without fee, 9ba6a1819Smrg * provided that the above copyright notice appear in all copies and 10ba6a1819Smrg * that both that copyright notice and this permission notice appear 11ba6a1819Smrg * in supporting documentation, and that the names of Network Computing 12ba6a1819Smrg * Devices or Digital not be used in advertising or publicity pertaining 13ba6a1819Smrg * to distribution of the software without specific, written prior 14ba6a1819Smrg * permission. Network Computing Devices or Digital make no representations 15ba6a1819Smrg * about the suitability of this software for any purpose. It is provided 16ba6a1819Smrg * "as is" without express or implied warranty. 17ba6a1819Smrg * 18ba6a1819Smrg * NETWORK COMPUTING DEVICES AND DIGITAL DISCLAIM ALL WARRANTIES WITH 19ba6a1819Smrg * REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF 20ba6a1819Smrg * MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NETWORK COMPUTING DEVICES 21ba6a1819Smrg * OR DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES 22ba6a1819Smrg * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 23ba6a1819Smrg * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 24ba6a1819Smrg * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 25ba6a1819Smrg * SOFTWARE. 26ba6a1819Smrg */ 27ba6a1819Smrg 28ba6a1819Smrg/* 29ba6a1819Smrg 30ba6a1819SmrgCopyright 1987, 1994, 1998 The Open Group 31ba6a1819Smrg 32ba6a1819SmrgPermission to use, copy, modify, distribute, and sell this software and its 33ba6a1819Smrgdocumentation for any purpose is hereby granted without fee, provided that 34ba6a1819Smrgthe above copyright notice appear in all copies and that both that 35ba6a1819Smrgcopyright notice and this permission notice appear in supporting 36ba6a1819Smrgdocumentation. 37ba6a1819Smrg 38ba6a1819SmrgThe above copyright notice and this permission notice shall be included in 39ba6a1819Smrgall copies or substantial portions of the Software. 40ba6a1819Smrg 41ba6a1819SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 42ba6a1819SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 43ba6a1819SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 44ba6a1819SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 45ba6a1819SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 46ba6a1819SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 47ba6a1819Smrg 48ba6a1819SmrgExcept as contained in this notice, the name of The Open Group shall not be 49ba6a1819Smrgused in advertising or otherwise to promote the sale, use or other dealings 50ba6a1819Smrgin this Software without prior written authorization from The Open Group. 51ba6a1819Smrg 52ba6a1819Smrg*/ 53ba6a1819Smrg 54ba6a1819Smrg#ifdef HAVE_CONFIG_H 55ba6a1819Smrg#include <config.h> 56ba6a1819Smrg#endif 57ba6a1819Smrg#include "FSlibint.h" 58ba6a1819Smrg 59ba6a1819Smrglong 60ba6a1819SmrgFSMaxRequestSize(FSServer *svr) 61ba6a1819Smrg{ 62ba6a1819Smrg return svr->max_request_size; 63ba6a1819Smrg} 64