Go Back   FlashFXP Forums > > > >

NeoXed's scripts nxAutoNuke, nxTools, etc.

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-14-2006, 08:17 PM   #1
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default nxSDK - C/C++ SDK for ioFTPD

nxSDK is a development kit for software developers writing shared memory applications for ioFTPD in C and C++. It provides a high-level interface to all of the shared memory functions implemented in ioFTPD, such as:
  • Creating, renaming, and deleting users and groups.
  • Modifying user-file and group-file data structures.
  • Resolving group IDs to group names, and vice versa.
  • Resolving user IDs to user names, and vice versa.
  • Retrieving information about online users.
  • Kicking online users by their connection ID or user ID.
  • Flushing the directory cache in specific directories.
  • Reading and writing VFS ownership (uid/gid) and permissions (chmod).
Download:

http://www.inicom.net/pages/en.ioftp...pts.php?id=220
neoxed is offline   Reply With Quote
Old 05-14-2006, 08:48 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

I have a few ideas for future versions, if anyone else has any please share them with me.

- Parameter checking in release builds.
- Set Windows error codes on success and failure (SetLastError/GetLastError).
- A Io_GetOnlineDataEx function, that would resolve user names and look-up group names (saves a lot of work since Io_GetOnlineData leaves this to the caller).
neoxed is offline   Reply With Quote
Old 05-15-2006, 12:50 AM   #3
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Just posted v0.2.0, I had to make some backwards incompatible changes so I decided to post it ASAP.
  • NEW: Improved function documentation.
  • NEW: Io_GetOnlineDataEx function to retrieve extended online information.
  • CHG: Renamed several online types and constants for consistency.
    • ONLINEDATA_ROUTINE to Io_OnlineDataProc
    • ONLINEDATA_CONTINUE to IO_ONLINEDATA_CONTINUE
    • ONLINEDATA_STOP to IO_ONLINEDATA_STOP
  • CHG: Simplified the "who" example application.
neoxed is offline   Reply With Quote
Old 05-16-2006, 12:51 PM   #4
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

I just posted v0.3.0 - adds parameter checking and more example applications.
  • NEW: Example application for adding or removing credits from a user.
  • NEW: Example application for retrieving information about ioFTPD.
  • NEW: Function arguments are validated in both release and debug builds.
  • NEW: nxSDK library no longer links against C runtimes (only 9KB now).
  • NEW: System error codes are set on failure (retrieved with GetLastError).
  • CHG: Function return types changed; recompile your applications.
    • Io_GetOnlineData from void to BOOL.
    • Io_KickConnId from void to BOOL.
    • Io_KickUserId from void to BOOL.
    • Io_ShmFree from void to BOOL.
  • CHG: Improved comments in example applications.
neoxed is offline   Reply With Quote
Old 05-16-2006, 05:15 PM   #5
Linkster
Moderator
Administrator
 
Join Date: Oct 2001
Location: New Mexico, USA
Posts: 1,070
Default

neoxed, I just wanted to thank you personally for your amazing contributions to the ioftpd community. So...what is your schedule like?
Linkster is offline   Reply With Quote
Old 05-16-2006, 07:40 PM   #6
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Thank you.

I have a part-time job in the mornings and nothing during the summer (since I have a surgical operation that will keep me off my feet for July and maybe August). So I'll be stuck at home, coding . I'd say my schedule is fairly open, any reason you ask? hehe
neoxed is offline   Reply With Quote
Old 05-17-2006, 04:11 AM   #7
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

Nice work..
FTPServerTools is offline   Reply With Quote
Reply

Tags
download, ioftpd, nxsdk, user, users

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:12 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)