/*****************************************************************************/ /* Copyright (c) 1994 by Jyrki Salmi */ /* You may modify, recompile and distribute this file freely. */ /*****************************************************************************/ /* Global variables */ #include "ckcdeb.h" #ifndef NOXFER #include #include #ifdef NT #include #endif #include "p_type.h" #include "p_tl.h" #include "p_brw.h" #include "p.h" TL *tl = NULL; /* A linked list of files given */ /* on the command-line */ U8 *full_path = NULL; /* Used to save temporarily path of the */ /* file being sent. Needed to make proper */ /* DSZLOG */ FILE *dszlog_stream = NULL; /* If non-NULL, a DSZLOG will be written */ /* to this stream. */ BOOLEAN aborted = 0; /* Set non-zero when user wants to abort */ BOOLEAN we_aborted = 0; /* Set non-zero when we have handled the */ /* local abortion request */ BOOLEAN carrier_lost = 0; /* Set non-zero when detected a loss */ /* of carrier signal */ BRWF *brwf = NULL; /* BRWF handle to the file currently being */ /* transferred. */ P_CFG p_cfg; /* Configuration to be passed to the DLL */ time_t t_started; /* Current time is saved to here when */ /* opening a file to be transferred. Used to */ /* calculate the CPS rates. */ U32 files_left = 0; /* Number of files left to transfer */ U32 bytes_left = 0; /* Number of bytes left to transfer */ S32 remote_serial_num = -1; /* The remote's serial number */ /* Things got from the command-line */ BOOLEAN opt_paths = 0; BOOLEAN opt_clean = 0; BOOLEAN opt_resume = 0; BOOLEAN opt_rename = 0; BOOLEAN opt_headers = 0; BOOLEAN opt_frameends = 0; BOOLEAN opt_quiet = 0; BOOLEAN opt_text = 0; BOOLEAN opt_existing = 0; BOOLEAN opt_mileage = 0; BOOLEAN opt_options = 0; BOOLEAN opt_recursive = 0; BOOLEAN opt_create = 0; U8 opt_management = 0; U32 opt_wait = 0; U8 *opt_dszlog = NULL; U8 *opt_directory = NULL; U32 opt_filebuf = 0; U32 opt_speed = 0; U8 *opt_note = NULL; int savfnc = 0 ; /* originally statics from status_func */ U32 checking_method = 0; U32 receiver_flags = 0; S32 receiver_window_size = -1; #endif /* NOXFER */ .