vfsmod.h revision 1c94c0a63ba68be1a7b2c640e70d7a06464e4fca
/** @file
*
* vboxvfs -- VirtualBox Guest Additions for Linux
*/
/*
* Copyright (C) 2006-2007 Sun Microsystems, Inc.
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
* Clara, CA 95054 USA or visit http://www.sun.com if you need
* additional information or have any questions.
*/
#ifndef VFSMOD_H
#define VFSMOD_H
#include "the-linux-kernel.h"
#include "version-generated.h"
#include "VBoxCalls.h"
#include "vbsfmount.h"
/* structs */
struct sf_glob_info {
int ttl;
int uid;
int gid;
};
struct sf_inode_info {
int force_restat;
};
struct sf_dir_info {
};
struct sf_dir_buf {
void *buf;
};
struct sf_reg_info {
};
/* globals */
extern VBSFCLIENT client_handle;
/* forward declarations */
extern struct inode_operations sf_dir_iops;
extern struct inode_operations sf_reg_iops;
extern struct file_operations sf_dir_fops;
extern struct file_operations sf_reg_fops;
extern struct dentry_operations sf_dentry_ops;
extern struct address_space_operations sf_reg_aops;
extern void
RTFSOBJINFO *info);
extern int
extern int
extern int
#endif
extern int
SHFLSTRING **result);
extern int
extern void
sf_dir_info_free (struct sf_dir_info *p);
extern struct sf_dir_info *
sf_dir_info_alloc (void);
extern int
#define STRUCT_STATFS struct statfs
#else
#define STRUCT_STATFS struct kstatfs
#endif
#ifdef ALIGN
#endif
/* Following casts are here to prevent assignment of void * to
pointers of arbitrary type */
#else
#endif
/* FC6 kernel 2.6.18, vanilla kernel 2.6.19+ */
#else
/* vanilla kernel up to 2.6.18 */
#endif
#endif /* vfsmod.h */