"Fossies" - the Fresh Open Source Software Archive

Member "glusterfs-8.2/rpc/xdr/src/mount3udp.x" (16 Sep 2020, 918 Bytes) of package /linux/misc/glusterfs-8.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /*
    2   Copyright (c) 2007-2012 Red Hat, Inc. <http://www.redhat.com>
    3   This file is part of GlusterFS.
    4 
    5   This file is licensed to you under your choice of the GNU Lesser
    6   General Public License, version 3 or any later version (LGPLv3 or
    7   later), or the GNU General Public License, version 2 (GPLv2), in all
    8   cases as published by the Free Software Foundation.
    9 */
   10 
   11 #ifdef RPC_XDR
   12 %#include "rpc-pragmas.h"
   13 #endif
   14 %#include <glusterfs/compat.h>
   15 
   16 /* This is used by rpcgen to auto generate the rpc stubs.
   17  * mount3udp_svc.c is heavily modified though
   18  */
   19 
   20 %#include "xdr-nfs3.h"
   21 
   22 const MNTUDPPATHLEN = 1024;
   23 
   24 typedef string mntudpdirpath<MNTPATHLEN>;
   25 
   26 program MOUNTUDP_PROGRAM {
   27         version MOUNTUDP_V3 {
   28                 void MOUNTUDPPROC3_NULL(void) = 0;
   29                 mountres3 MOUNTUDPPROC3_MNT (mntudpdirpath) = 1;
   30                 mountstat3 MOUNTUDPPROC3_UMNT (mntudpdirpath) = 3;
   31         } = 3;
   32 } = 100005;