root / hw / file-op-9p.h @ 74db920c
History | View | Annotate | Download (563 Bytes)
1 |
/*
|
---|---|
2 |
* Virtio 9p
|
3 |
*
|
4 |
* Copyright IBM, Corp. 2010
|
5 |
*
|
6 |
* Authors:
|
7 |
* Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
|
8 |
*
|
9 |
* This work is licensed under the terms of the GNU GPL, version 2. See
|
10 |
* the COPYING file in the top-level directory.
|
11 |
*
|
12 |
*/
|
13 |
#ifndef _FILEOP_H
|
14 |
#define _FILEOP_H
|
15 |
#include <sys/types.h> |
16 |
#include <dirent.h> |
17 |
#include <sys/time.h> |
18 |
#include <utime.h> |
19 |
#include <sys/stat.h> |
20 |
#include <sys/uio.h> |
21 |
|
22 |
typedef struct FsContext |
23 |
{ |
24 |
char *fs_root;
|
25 |
uid_t uid; |
26 |
} FsContext; |
27 |
|
28 |
typedef struct FileOperations |
29 |
{ |
30 |
void *opaque;
|
31 |
} FileOperations; |
32 |
#endif
|