ADC Home > Reference Library > Reference > Darwin > Miscellaneous User Space API Reference

 


nanoftp.h

Includes:

Introduction



Typedefs


ftpDataCallback


typedef void (*ftpDataCallback) (
    void *userData, 
    const char *data, 
    int len);  
Discussion

ftpDataCallback: @userData: the user provided context @data: the data received @len: its size in bytes

A callback for the xmlNanoFTPGet command.


ftpListCallback


typedef void (*ftpListCallback) (
    void *userData, 
    const char *filename,
    const char *attrib, 
    const char *owner,
    const char *group, 
    unsigned long size,
    int links,
    int year, 
    const char *month,
    int day,
    int hour, 
    int minute);  
Discussion

ftpListCallback: @userData: user provided data for the callback @filename: the file name (including "->" when links are shown) @attrib: the attribute string @owner: the owner string @group: the group string @size: the file size @links: the link count @year: the year @month: the month @day: the day @hour: the hour @minute: the minute

A callback for the xmlNanoFTPList command. Note that only one of year and day:minute are specified.

Last Updated: 2006-06-20