vboxvfs.h revision 887dfcedd826364b6159847dbd25800c0eeede4a
/* $Id$ */
/** @file
* Description.
*/
/*
* Copyright (C) 2008 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.
*/
#ifndef ___VBOXVFS_H___
#define ___VBOXVFS_H___
#define VBOXVFS_VFSNAME "vboxvfs"
#define VBOXVFS_VERSION 1
#define MAX_HOST_NAME 256
#define MAX_NLS_NAME 32
struct vboxvfs_mount_info {
char name[MAX_HOST_NAME];
char nls_name[MAX_NLS_NAME];
int uid;
int gid;
int ttl;
};
#ifdef _KERNEL
#include "../../common/VBoxGuestLib/VBoxCalls.h"
struct vboxvfsmount {
long nextino;
int caseopt;
int didrele;
};
/* structs - stolen from the linux shared module code */
struct sf_glob_info {
/* struct nls_table *nls;*/
int ttl;
int uid;
int gid;
struct vnode *vnode_root;
};
struct sf_inode_info {
int force_restat;
};
#if 0
struct sf_dir_info {
};
#endif
struct sf_dir_buf {
void *buf;
#if 0
#endif
};
struct sf_reg_info {
};
#endif /* KERNEL */
#endif /* !___VBOXVFS_H___ */