blob: d5c2c2f9adee827bca0c5de7f09ca3c87144c5b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
ipdir.h
Interface for perl directory functions
*/
#ifndef __Inc__IPerlDir___
#define __Inc__IPerlDir___
class IPerlDir
{
public:
virtual int Makedir(const char *dirname, int mode, int &err) = 0;
virtual int Chdir(const char *dirname, int &err) = 0;
virtual int Rmdir(const char *dirname, int &err) = 0;
virtual int Close(DIR *dirp, int &err) = 0;
virtual DIR *Open(char *filename, int &err) = 0;
virtual struct direct *Read(DIR *dirp, int &err) = 0;
virtual void Rewind(DIR *dirp, int &err) = 0;
virtual void Seek(DIR *dirp, long loc, int &err) = 0;
virtual long Tell(DIR *dirp, int &err) = 0;
};
#endif /* __Inc__IPerlDir___ */
|