4 Interface for perl directory functions
8 #ifndef __Inc__IPerlDir___
9 #define __Inc__IPerlDir___
14 virtual int MKdir(const char *dirname, int mode, int &err) = 0;
15 virtual int Chdir(const char *dirname, int &err) = 0;
16 virtual int Rmdir(const char *dirname, int &err) = 0;
17 virtual int Close(DIR *dirp, int &err) = 0;
18 virtual DIR *Open(char *filename, int &err) = 0;
19 virtual struct direct *Read(DIR *dirp, int &err) = 0;
20 virtual void Rewind(DIR *dirp, int &err) = 0;
21 virtual void Seek(DIR *dirp, long loc, int &err) = 0;
22 virtual long Tell(DIR *dirp, int &err) = 0;
25 #endif /* __Inc__IPerlDir___ */