9p.h (af8b38b0d1878950d27156fd350e5457fd8a15a1) 9p.h (f314ea4e30a1ef87bf8845da952c6dd0bac20b95)
1#ifndef _QEMU_9P_H
2#define _QEMU_9P_H
3
4#include <dirent.h>
5#include <utime.h>
6#include <sys/resource.h>
7#include <glib.h>
8#include "fsdev/file-op-9p.h"

--- 153 unchanged lines hidden (view full) ---

162{
163 int64_t copied_len;
164 int64_t len;
165 void *value;
166 V9fsString name;
167 int flags;
168} V9fsXattr;
169
1#ifndef _QEMU_9P_H
2#define _QEMU_9P_H
3
4#include <dirent.h>
5#include <utime.h>
6#include <sys/resource.h>
7#include <glib.h>
8#include "fsdev/file-op-9p.h"

--- 153 unchanged lines hidden (view full) ---

162{
163 int64_t copied_len;
164 int64_t len;
165 void *value;
166 V9fsString name;
167 int flags;
168} V9fsXattr;
169
170typedef struct V9fsDir {
171 DIR *stream;
172} V9fsDir;
173
170/*
171 * Filled by fs driver on open and other
172 * calls.
173 */
174union V9fsFidOpenState {
175 int fd;
174/*
175 * Filled by fs driver on open and other
176 * calls.
177 */
178union V9fsFidOpenState {
179 int fd;
176 DIR *dir;
180 V9fsDir dir;
177 V9fsXattr xattr;
178 /*
179 * private pointer for fs drivers, that
180 * have its own internal representation of
181 * open files.
182 */
183 void *private;
184};

--- 138 unchanged lines hidden ---
181 V9fsXattr xattr;
182 /*
183 * private pointer for fs drivers, that
184 * have its own internal representation of
185 * open files.
186 */
187 void *private;
188};

--- 138 unchanged lines hidden ---