1187806Sdas/* 2187806Sdas * Copyright (c) 2007, 2008, 2009, ETH Zurich. 3187806Sdas * All rights reserved. 4187806Sdas * 5187806Sdas * This file is distributed under the terms in the attached LICENSE file. 6187806Sdas * If you do not find this file, copies can be found by writing to: 7187806Sdas * ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group. 8187806Sdas */ 9187806Sdas 10187806Sdas#ifndef DIRENT_H_ 11187806Sdas#define DIRENT_H_ 12187806Sdas 13187806Sdas#include <sys/cdefs.h> 14187806Sdas 15187806Sdas#ifndef MAXNAMLEN 16187806Sdas#define MAXNAMLEN 512 17187806Sdas#endif 18187806Sdas 19struct dirent { 20// long d_ino; 21// off_t d_off; 22// unsigned short d_reclen; 23 char d_name[MAXNAMLEN + 1]; 24}; 25 26typedef struct { 27 struct dirent dirent; 28 void *vh; // really a vfs_handle_t 29} DIR; 30 31#endif 32