Home | History | Annotate | Line # | Download | only in rpc
rpc_commondata.c revision 1.8.56.1
      1  1.8.56.1      yamt /*	$NetBSD: rpc_commondata.c,v 1.8.56.1 2014/05/22 11:36:53 yamt Exp $	*/
      2       1.4       cgd 
      3       1.1       cgd /*
      4  1.8.56.1      yamt  * Copyright (c) 2010, Oracle America, Inc.
      5  1.8.56.1      yamt  *
      6  1.8.56.1      yamt  * Redistribution and use in source and binary forms, with or without
      7  1.8.56.1      yamt  * modification, are permitted provided that the following conditions are
      8  1.8.56.1      yamt  * met:
      9  1.8.56.1      yamt  *
     10  1.8.56.1      yamt  *     * Redistributions of source code must retain the above copyright
     11  1.8.56.1      yamt  *       notice, this list of conditions and the following disclaimer.
     12  1.8.56.1      yamt  *     * Redistributions in binary form must reproduce the above
     13  1.8.56.1      yamt  *       copyright notice, this list of conditions and the following
     14  1.8.56.1      yamt  *       disclaimer in the documentation and/or other materials
     15  1.8.56.1      yamt  *       provided with the distribution.
     16  1.8.56.1      yamt  *     * Neither the name of the "Oracle America, Inc." nor the names of its
     17  1.8.56.1      yamt  *       contributors may be used to endorse or promote products derived
     18  1.8.56.1      yamt  *       from this software without specific prior written permission.
     19  1.8.56.1      yamt  *
     20  1.8.56.1      yamt  *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     21  1.8.56.1      yamt  *   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     22  1.8.56.1      yamt  *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
     23  1.8.56.1      yamt  *   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
     24  1.8.56.1      yamt  *   COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
     25  1.8.56.1      yamt  *   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     26  1.8.56.1      yamt  *   DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
     27  1.8.56.1      yamt  *   GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     28  1.8.56.1      yamt  *   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
     29  1.8.56.1      yamt  *   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
     30  1.8.56.1      yamt  *   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
     31  1.8.56.1      yamt  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     32       1.1       cgd  */
     33       1.1       cgd 
     34       1.5  christos #include <sys/cdefs.h>
     35       1.1       cgd #if defined(LIBC_SCCS) && !defined(lint)
     36       1.5  christos #if 0
     37       1.5  christos static char *sccsid = "@(#)rpc_commondata.c	2.1 88/07/29 4.0 RPCSRC";
     38       1.5  christos #else
     39  1.8.56.1      yamt __RCSID("$NetBSD: rpc_commondata.c,v 1.8.56.1 2014/05/22 11:36:53 yamt Exp $");
     40       1.5  christos #endif
     41       1.1       cgd #endif
     42       1.1       cgd 
     43       1.1       cgd #include <rpc/rpc.h>
     44       1.6     lukem 
     45       1.1       cgd /*
     46       1.1       cgd  * This file should only contain common data (global data) that is exported
     47       1.1       cgd  * by public interfaces
     48       1.1       cgd  */
     49       1.1       cgd struct opaque_auth _null_auth;
     50       1.1       cgd fd_set svc_fdset;
     51       1.3   deraadt int svc_maxfd = -1;
     52       1.8   thorpej #ifndef _REENTRANT
     53       1.7      fvdl #undef rpc_createerr
     54       1.1       cgd struct rpc_createerr rpc_createerr;
     55       1.7      fvdl #endif
     56