summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/mount3udp.x
blob: 7fbe3ff523d12e4189a3f6d30ba4e26b7dda4c3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
  Copyright (c) 2007-2012 Red Hat, Inc. <http://www.redhat.com>
  This file is part of GlusterFS.

  This file is licensed to you under your choice of the GNU Lesser
  General Public License, version 3 or any later version (LGPLv3 or
  later), or the GNU General Public License, version 2 (GPLv2), in all
  cases as published by the Free Software Foundation.
*/

/* This is used by rpcgen to auto generate the rpc stubs.
 * mount3udp_svc.c is heavily modified though
 */

%#include "xdr-nfs3.h"

const MNTUDPPATHLEN = 1024;

typedef string mntudpdirpath<MNTPATHLEN>;

program MOUNTUDP_PROGRAM {
        version MOUNTUDP_V3 {
                void MOUNTUDPPROC3_NULL(void) = 0;
                mountres3 MOUNTUDPPROC3_MNT (mntudpdirpath) = 1;
                mountstat3 MOUNTUDPPROC3_UMNT (mntudpdirpath) = 3;
        } = 3;
} = 100005;