ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ftp.c File Reference
#include "precomp.h"
#include <ctype.h>

Go to the source code of this file.

Defines

#define L_SET   SEEK_SET
#define L_INCR   SEEK_CUR
#define caddr_t   void *
#define MAXHOSTNAMELEN   64
#define HASHBYTES   1024
#define UC(b)   (((int)b)&0xff)
#define nz(x)   ((x) == 0 ? 1 : (x))

Typedefs

typedef void(* Sig_t )(int)

Functions

uid_t getuid ()
sig_t lostpeer ()
int dataconn (const char *mode)
int command (const char *fmt,...)
void psabort (int sig)
charhookup (const char *host, int port)
int login (const char *host)
static void cmdabort (int sig)
int getreply (int expecteof)
static int empty (struct fd_set *mask, int sec)
void sendrequest (const char *cmd, const char *local, const char *remote, int printnames)
void recvrequest (const char *cmd, const char *local, const char *remote, const char *mode, int printnames)
int initconn ()
void ptransfer (char *direction, long bytes, struct timeval *t0, struct timeval *t1) const
void tvsub (struct timeval *tdiff, struct timeval *t1, struct timeval *t0)
void pswitch (int flag)
void proxtrans (char *cmd, char *local, char *remote) const
void reset (int argc, const char *argv[])
int null (void)

Variables

static char sccsid [] = "@(#)ftp.c 5.28 (Berkeley) 4/20/89"
struct sockaddr_in hisctladdr
struct sockaddr_in data_addr
int data = -1
int abrtflag = 0
int ptflag = 0
int allbinary
struct sockaddr_in myctladdr
off_t restart_point = 0
SOCKET cin
SOCKET cout
charhostname
char reply_string [BUFSIZ]
jmp_buf sendabort
jmp_buf recvabort
jmp_buf ptabort
int ptabflg

Generated on Fri May 25 2012 04:40:48 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.