/*= -*- c-file-style: "bsd"; indent-tabs-mode: nil; -*-
 *
 * n4: A fast userspace NFSv4 server.
 * $Id: mount.h,v 1.4 2001/06/14 06:55:04 mbp Exp $
 * 
 * Copyright (C) 2001 by Martin Pool <mbp@samba.org>
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

enum {
    MOUNTPROC_NULL = 0,
    MOUNTPROC_MNT = 1,
    MOUNTPROC_DUMP = 2,
    MOUNTPROC_UMNT = 3,
    MOUNTPROC_UMNTALL = 4,
    MOUNTPROC_EXPORT  = 5
};

enum {
    MOUNTVERS = 1
};

enum {
    MOUNT_PROGRAM = 100005
};

    /* The maximum number of bytes in a pathname argument. */
#define    MOUNT1_PATHLEN  1024

    /* The maximum number of bytes in a name argument. */
#define    MOUNT1_NAMLEN  255

    /* The size in bytes of the opaque file handle. */
#define MOUNT1_FHSIZE 32

typedef uint8_t mount1_fh_t[MOUNT1_FHSIZE];
