Home

Main
FSP Servers
FSP Software
FSP Downloads

FSP project
FSP Team
Testers needed
Open tasks
Wizards vs CSH

Mailing lists
Bug Tracker

FSP Documents
Purpose
History
Articles
Today
Future
INFO
FAQ Old | New
FSP Protocol
Quotes

FSP suite
Browse Code
Copyright
Changelog
TODO
Open Hub page

Java library
Browse Code
API
READ.ME
Changelog
Open Hub Page

FSP C library
Browse Code
README
NEWS
Changes
TODO
Open Hub page

FSP proxy
Browse Code
READ.ME
Changelog

PyFSP
Browse Code

FSP entry in
GNU dir
Wikipedia

My projects
FSP Client
Download Machine
Smart Cache
SC Loader
Old programs

SF Logo

FSPLIB Library

Copyright (c) 2003,2004 by Radim `HSN` Kolar
You 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 Library

FSP 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 overview

Session management

You need to create session before doing anything else.

Functions: fsp_open_session, fsp_close_session.

fopen and friends

Standard 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 functions

Standard functions for directory listing.

Functions: fsp_opendir, fsp_readdir_r, fsp_telldir, fsp_seekdir, fsp_rewinddir, fsp_readdir, fsp_readdir_native, fsp_closedir.

Misc. functions

Common posix functions for file manipulation.

Functions: fsp_stat, fsp_mkdir, fsp_rmdir, fsp_unlink, fsp_rename, fsp_access.

FSP protocol specific functions

Functions: fsp_getpro, fsp_install, fsp_canupload;

Low level functions

Most people will not need them.

Functions: fsp_pkt_write, fsp_pkt_read, fsp_transaction.

Development Status