YedFtpPipe - Get_Host, Set_Host

NAME:
Get_Host
Set_Host

SYNOPSIS:
SCHAR *Get_Host(void *pvO);
SINT Set_Host(void *pvO,SCHAR *pscNewHost);

DESCRIPTION:
These methods are used to get or set the host involved in FTP operations. In case of setting a new host, pscNewHost points to the new host, that can be an URL or an IP address. The server will be always contacted at the port 21. pvO is the instance of the object invoking the method.

RETURN VALUE:
The method Get_Host returns a pointer to the host initialized in object instance. The host can be a string of length 0, if it has not been initialized.
The method Set_Host returns YFTSUCCESS if the host has been correctly initialized, YFTINVALIDPARAM if the length of pscNewHost string is greater than maximum size of private string containing the host.


http://yed.sourceforge.net