ftplib_set_debug_handler

Set the logging messages callback function

SYNOPSIS

#include <ftplib.h>
void ftplib_set_debug_handler(netbuf *nbp, ftp_debug_callback udbg);

PARAMETERS

nbp
An FTP connection returned from ftplib_connect()
udbg
Pointer to logging function

DESCRIPTION

ftplib_set_debug_handle() will set a callback routine specific to FTP connection nbp as well as the global default debug callback which is used during ftplib_connect() since there is no FTP connection yet.
The callback is typedef'ed as:

typedef void (*ftp_debug_callback)(const char *);

RETURN VALUE

Nothing

$Id: ftplib_set_debug_handler.html,v 1.1 2002/12/02 03:12:52 te Exp $