~ubuntu-branches/ubuntu/lucid/nfs-utils/lucid

« back to all changes in this revision

Viewing changes to tools/rpcgen/rpc_sample.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2009-06-06 01:19:54 UTC
  • mto: (12.1.24 karmic)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20090606011954-ojnwbumhfwgivicw
Tags: upstream-1.2.0
ImportĀ upstreamĀ versionĀ 1.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
3
 
 * unrestricted use provided that this legend is included on all tape
4
 
 * media and as a part of the software program in whole or part.  Users
5
 
 * may copy or modify Sun RPC without charge, but are not authorized
6
 
 * to license or distribute it to anyone else except as part of a product or
7
 
 * program developed by the user or with the express written consent of
8
 
 * Sun Microsystems, Inc.
9
 
 *
10
 
 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
11
 
 * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
12
 
 * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
13
 
 *
14
 
 * Sun RPC is provided with no support and without any obligation on the
15
 
 * part of Sun Microsystems, Inc. to assist in its use, correction,
16
 
 * modification or enhancement.
17
 
 *
18
 
 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
19
 
 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
20
 
 * OR ANY PART THEREOF.
21
 
 *
22
 
 * In no event will Sun Microsystems, Inc. be liable for any lost revenue
23
 
 * or profits or other special, indirect and consequential damages, even if
24
 
 * Sun has been advised of the possibility of such damages.
25
 
 *
26
 
 * Sun Microsystems, Inc.
27
 
 * 2550 Garcia Avenue
28
 
 * Mountain View, California  94043
 
2
 * Copyright (c) 2009, Sun Microsystems, Inc.
 
3
 * All rights reserved.
 
4
 *
 
5
 * Redistribution and use in source and binary forms, with or without
 
6
 * modification, are permitted provided that the following conditions are met:
 
7
 * - Redistributions of source code must retain the above copyright notice,
 
8
 *   this list of conditions and the following disclaimer.
 
9
 * - Redistributions in binary form must reproduce the above copyright notice,
 
10
 *   this list of conditions and the following disclaimer in the documentation
 
11
 *   and/or other materials provided with the distribution.
 
12
 * - Neither the name of Sun Microsystems, Inc. nor the names of its
 
13
 *   contributors may be used to endorse or promote products derived
 
14
 *   from this software without specific prior written permission.
 
15
 *
 
16
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 
17
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 
18
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 
19
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
 
20
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 
21
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 
22
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 
23
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 
24
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 
25
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 
26
 * POSSIBILITY OF SUCH DAMAGE.
29
27
 */
30
28
 
31
29
#if 0