~ubuntu-branches/ubuntu/hardy/postgresql-8.4/hardy-backports

« back to all changes in this revision

Viewing changes to src/include/port/win32_msvc/dirent.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-03-20 12:00:13 UTC
  • Revision ID: james.westby@ubuntu.com-20090320120013-hogj7egc5mjncc5g
Tags: upstream-8.4~0cvs20090328
ImportĀ upstreamĀ versionĀ 8.4~0cvs20090328

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Headers for port/dirent.c, win32 native implementation of dirent functions
 
3
 *
 
4
 * $PostgreSQL$
 
5
 */
 
6
 
 
7
#ifndef _WIN32VC_DIRENT_H
 
8
#define _WIN32VC_DIRENT_H
 
9
struct dirent
 
10
{
 
11
        long            d_ino;
 
12
        unsigned short d_reclen;
 
13
        unsigned short d_namlen;
 
14
        char            d_name[MAX_PATH];
 
15
};
 
16
 
 
17
typedef struct DIR DIR;
 
18
 
 
19
DIR                *opendir(const char *);
 
20
struct dirent *readdir(DIR *);
 
21
int                     closedir(DIR *);
 
22
 
 
23
#endif