ia64/xen-unstable

view extras/mini-os/include/posix/dirent.h @ 19848:5839491bbf20

[IA64] replace MAX_VCPUS with d->max_vcpus where necessary.

don't use MAX_VCPUS, and use vcpu::max_vcpus.
The changeset of 2f9e1348aa98 introduced max_vcpus to allow more vcpus
per guest. This patch is ia64 counter part.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jun 29 11:26:05 2009 +0900 (2009-06-29)
parents 9818c7099e20
children
line source
1 #ifndef _POSIX_DIRENT_H
2 #define _POSIX_DIRENT_H
4 #include <stdint.h>
6 struct dirent {
7 char *d_name;
8 };
10 typedef struct {
11 struct dirent dirent;
12 char *name;
13 int32_t offset;
14 char **entries;
15 int32_t curentry;
16 int32_t nbentries;
17 int has_more;
18 } DIR;
20 DIR *opendir(const char *name);
21 struct dirent *readdir(DIR *dir);
22 int closedir(DIR *dir);
24 #endif /* _POSIX_DIRENT_H */