From f51dd67f3a3f472af0620391eb588eeca4533689 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 11 Nov 2004 12:53:54 +0000 Subject: Load /tmp/tmp.n9GTkp/libxml2-2.6.16 into packages/libxml2/branches/upstream/current. --- doc/html/libxml-nanoftp.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/html/libxml-nanoftp.html') diff --git a/doc/html/libxml-nanoftp.html b/doc/html/libxml-nanoftp.html index 9fc521b..7c71162 100644 --- a/doc/html/libxml-nanoftp.html +++ b/doc/html/libxml-nanoftp.html @@ -22,15 +22,15 @@ void ftpListCallback (void * userData,
int	xmlNanoFTPCloseConnection	(void * ctx)
int	xmlNanoFTPConnect		(void * ctx)
void *	xmlNanoFTPConnectTo		(const char * server, 
int port)
-
int	xmlNanoFTPCwd			(void * ctx, 
char * directory)
-
int	xmlNanoFTPDele			(void * ctx, 
char * file)
+
int	xmlNanoFTPCwd			(void * ctx, 
const char * directory)
+
int	xmlNanoFTPDele			(void * ctx, 
const char * file)
void	xmlNanoFTPFreeCtxt		(void * ctx)
int	xmlNanoFTPGet			(void * ctx, 
ftpDataCallback callback,
void * userData,
const char * filename)
int	xmlNanoFTPGetConnection		(void * ctx)
int	xmlNanoFTPGetResponse		(void * ctx)
int	xmlNanoFTPGetSocket		(void * ctx, 
const char * filename)
void	xmlNanoFTPInit			(void)
-
int	xmlNanoFTPList			(void * ctx, 
ftpListCallback callback,
void * userData,
char * filename)
+
int	xmlNanoFTPList			(void * ctx, 
ftpListCallback callback,
void * userData,
const char * filename)
void *	xmlNanoFTPNewCtxt		(const char * URL)
void *	xmlNanoFTPOpen			(const char * URL)
void	xmlNanoFTPProxy			(const char * host, 
int port,
const char * user,
const char * passwd,
int type)
@@ -57,9 +57,9 @@ void ftpListCallback (void * userData,
const char * filename,

Tries to open a control connection

ctx:an FTP context
Returns:-1 in case of error, 0 otherwise

Function: xmlNanoFTPConnectTo

void *	xmlNanoFTPConnectTo		(const char * server, 
int port)

Tries to open a control connection to the given server/port

-
server:an FTP server name
port:the port (use 21 if 0)
Returns:an fTP context or NULL if it failed

Function: xmlNanoFTPCwd

int	xmlNanoFTPCwd			(void * ctx, 
char * directory)
+
server:an FTP server name
port:the port (use 21 if 0)
Returns:an fTP context or NULL if it failed

Function: xmlNanoFTPCwd

int	xmlNanoFTPCwd			(void * ctx, 
const char * directory)

Tries to change the remote directory

-
ctx:an FTP context
directory:a directory on the server
Returns:-1 incase of error, 1 if CWD worked, 0 if it failed

Function: xmlNanoFTPDele

int	xmlNanoFTPDele			(void * ctx, 
char * file)
+
ctx:an FTP context
directory:a directory on the server
Returns:-1 incase of error, 1 if CWD worked, 0 if it failed

Function: xmlNanoFTPDele

int	xmlNanoFTPDele			(void * ctx, 
const char * file)

Tries to delete an item (file or directory) from server

ctx:an FTP context
file:a file or directory on the server
Returns:-1 incase of error, 1 if DELE worked, 0 if it failed

Function: xmlNanoFTPFreeCtxt

void	xmlNanoFTPFreeCtxt		(void * ctx)

Frees the context after closing the connection.

@@ -73,7 +73,7 @@ void ftpListCallback (void * userData,
const char * filename,

Initiate fetch of the given file from the server.

ctx:an FTP context
filename:the file to retrieve (or NULL if path is in context).
Returns:the socket for the data connection, or <0 in case of error

Function: xmlNanoFTPInit

void	xmlNanoFTPInit			(void)

Initialize the FTP protocol layer. Currently it just checks for proxy informations, and get the hostname

-

Function: xmlNanoFTPList

int	xmlNanoFTPList			(void * ctx, 
ftpListCallback callback,
void * userData,
char * filename)
+

Function: xmlNanoFTPList

int	xmlNanoFTPList			(void * ctx, 
ftpListCallback callback,
void * userData,
const char * filename)

Do a listing on the server. All files info are passed back in the callbacks.

ctx:an FTP context
callback:the user callback
userData:the user callback data
filename:optional files to list
Returns:-1 incase of error, 0 otherwise

Function: xmlNanoFTPNewCtxt

void *	xmlNanoFTPNewCtxt		(const char * URL)

Allocate and initialize a new FTP context.

-- cgit v1.2.3