linux/fs/afs/afs.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/* AFS common types
 *
 * Copyright (C) 2002, 2007 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells ([email protected])
 */

#ifndef AFS_H
#define AFS_H

#include <linux/in.h>

#define AFS_MAXCELLNAME
#define AFS_MAXVOLNAME
#define AFS_MAXNSERVERS
#define AFS_NMAXNSERVERS
#define AFS_MAXTYPES
#define AFSNAMEMAX
#define AFSPATHMAX
#define AFSOPAQUEMAX

#define AFS_VL_MAX_LIFESPAN
#define AFS_PROBE_MAX_LIFESPAN

afs_volid_t;
afs_vnodeid_t;
afs_dataversion_t;

afs_voltype_t;

afs_file_type_t;

afs_lock_type_t;

#define AFS_LOCKWAIT

/*
 * AFS file identifier
 */
struct afs_fid {};

/*
 * AFS callback notification
 */
afs_callback_type_t;

struct afs_callback {};

struct afs_callback_break {};

#define AFSCBMAX

struct afs_uuid {};

/*
 * AFS volume information
 */
struct afs_volume_info {};

/*
 * AFS security ACE access mask
 */
afs_access_t;
#define AFS_ACE_READ
#define AFS_ACE_WRITE
#define AFS_ACE_INSERT
#define AFS_ACE_LOOKUP
#define AFS_ACE_DELETE
#define AFS_ACE_LOCK
#define AFS_ACE_ADMINISTER
#define AFS_ACE_USER_A
#define AFS_ACE_USER_B
#define AFS_ACE_USER_C
#define AFS_ACE_USER_D
#define AFS_ACE_USER_E
#define AFS_ACE_USER_F
#define AFS_ACE_USER_G
#define AFS_ACE_USER_H

/*
 * AFS file status information
 */
struct afs_file_status {};

struct afs_status_cb {};

/*
 * AFS file status change request
 */

#define AFS_SET_MTIME
#define AFS_SET_OWNER
#define AFS_SET_GROUP
#define AFS_SET_MODE
#define AFS_SET_SEG_SIZE

/*
 * AFS volume synchronisation information
 */
struct afs_volsync {};

/*
 * AFS volume status record
 */
struct afs_volume_status {};

#define AFS_BLOCK_SIZE

/*
 * XDR encoding of UUID in AFS.
 */
struct afs_uuid__xdr {};

#endif /* AFS_H */