/* wftp-client.h
 *
 ****************************************************************
 * Copyright (C) 2001, 2002 Tom Lord
 * 
 * See the file "COPYING" for further information about
 * the copyright and warranty status of this work.
 */

#ifndef INCLUDE__FTP_TOOLS__WFTP_CLIENT_H
#define INCLUDE__FTP_TOOLS__WFTP_CLIENT_H

#include "hackerlab/mem/alloc-limits.h"


/* automatically generated __STDC__ prototypes */
extern int wftp_client_init (int * errn,
			     int * in_fd,
			     int * out_fd,
			     t_uchar * with_ftp,
			     int passive_mode);
extern int wftp_client_simple_cmd (alloc_limits limits,
				   int * errn,
				   int * cmd_ok,
				   t_uchar ** msg, long * msg_len,
				   int in_fd, int out_fd,
				   t_uchar * fmt, ...);
extern int wftp_client_get_data_cmd (alloc_limits limits,
				     int * errn,
				     int * cmd_ok,
				     t_uchar ** msg, long * msg_len,
				     int in_fd, int out_fd,
				     int data_source_fd,
				     int data_sync_fd,
				     int strip_cr,
				     t_uchar * cmd,
				     t_uchar * fmt, ...);
#endif  /* INCLUDE__FTP_TOOLS__WFTP_CLIENT_H */
/* tag: Tom Lord Tue Dec  4 14:41:24 2001 (wftp-client.h)
 */
