|
Home
Main
FSP project
FSP Documents
FSP suite
Java library
FSP proxy
C library
Misc
FSP entry in
Stats
My projects |
FSPLIB LibraryCopyrightCopyright (c) 2003,2004 by Radim `HSN` KolarYou may copy or modify this file in any manner you wish, provided that this notice is always included, and that you hold the author harmless for any loss or damage resulting from the installation or use of this software. What C FSP LibraryFSP Library is independant implementation of FSP protocol written in C. It can be used in any application which needs to support FSP protocol. Using this library is a very simple, because it has its API modeled after libc.FSPLIB API overviewSession managementYou need to create session before doing anything else.Functions: fsp_open_session, fsp_close_session. fopen and friendsStandard functions for working on r/w data streams. FSP protocol do not supports read AND write access. FSP supports read OR write access to file.Functions: fsp_fopen, fsp_fread, fsp_fwrite, fsp_fclose, fsp_fpurge, fsp_fflush, fsp_fseek, fsp_ftell, fsp_rewind. Directory listing functionsStandard functions for directory listing.Functions: fsp_opendir, fsp_readdir_r, fsp_telldir, fsp_seekdir, fsp_rewinddir, fsp_readdir, fsp_readdir_native, fsp_closedir. Misc. functionsCommon posix functions for file manipulation.Functions: fsp_stat, fsp_mkdir, fsp_rmdir, fsp_unlink, fsp_rename, fsp_access. FSP protocol specific functionsFunctions: fsp_getpro, fsp_install, fsp_canupload; Low level functionsMost people will not need them.Functions: fsp_pkt_write, fsp_pkt_read, fsp_transaction. StatusRelease 0.1 is broken. Version 0.2 works okay. Version 0.3-0.5 have just some minor portability bugfixes. Version 0.6 added more security checks on received packets. |