View Single Post
Old 06-29-2006, 08:21 PM  
neoxed
Too much time...
 
Join Date: May 2003
Posts: 1,326
Default

I will not be able to finish nxMyDB until I have a chance to correct a trivial design flaw in ioFTPD's module system.

These are the forward declarations for callbacks used by ioFTPD's module system:
Code:
INT32 UserCreate(char *userName);
INT   UserRename(char *userName, INT32 userId, char *newName);
INT   UserDelete(char *userName, INT32 userId);
INT   UserLock(USERFILE *userFile);
INT   UserUnlock(USERFILE *userFile);
INT   UserOpen(char *userName, USERFILE *userFile);
INT   UserWrite(USERFILE *userFile);
INT   UserClose(USERFILE *userFile);
The problem is that ioFTPD does not pass a pointer to the USERFILE structure on "Rename" and "Delete" operations. This is a problem because I must be able access the lpInternal member of the USERFILE structure.

It is possible to work around this issue, but I don't want to write an unpleasant hack to cope with this oversight.

Note: This doesn't mean nxMyDB is dead; it's just on hold until I can make the appropriate changes to ioFTPD.
neoxed is offline   Reply With Quote