Go to the source code of this file.
Data Structures | |
struct | transfer_reget |
struct | zarrf |
Defines | |
#define | FILEMATCH (match+sofar) |
#define | FILEQUOTE '\\' |
#define | FILEWILDS '*' |
#define | FILEWILDQ '?' |
#define | TRANSFER_COPY_FAILED get_language(0xf00) |
#define | TRANSFER_FILESYS_BROKEN get_language(0xf01) |
#define | TRANSFER_FILE_ARRIVE get_language(0xf02) |
#define | TRANSFER_LOG_CONFULL get_language(0xf03) |
#define | TRANSFER_NOTICE_CONFULL get_language(0xf04) |
#define | TRANSFER_LOG_SOCKERR get_language(0xf05) |
#define | TRANSFER_NOTICE_SOCKERR get_language(0xf06) |
#define | TRANSFER_LOG_FILEEMPTY get_language(0xf07) |
#define | TRANSFER_NOTICE_FILEEMPTY get_language(0xf08) |
#define | TRANSFER_SEND_TO get_language(0xf09) |
#define | TRANSFER_LINES get_language(0xf0a) |
#define | TRANSFER_WAITING get_language(0xf0b) |
#define | TRANSFER_DONE get_language(0xf0c) |
#define | TRANSFER_QUEUED_UP get_language(0xf0d) |
#define | TRANSFER_TOTAL get_language(0xf0e) |
#define | TRANSFER_CANCELLED get_language(0xf0f) |
#define | TRANSFER_ABORT_DCCSEND get_language(0xf10) |
#define | TRANSFER_NOTICE_ABORT get_language(0xf11) |
#define | TRANSFER_DCC_CANCEL get_language(0xf12) |
#define | TRANSFER_NO_MATCHES get_language(0xf13) |
#define | TRANSFER_CANCELLED_FILE get_language(0xf14) |
#define | TRANSFER_COMPLETED_DCC get_language(0xf15) |
#define | TRANSFER_FILENAME_TOOLONG get_language(0xf16) |
#define | TRANSFER_NOTICE_FNTOOLONG get_language(0xf17) |
#define | TRANSFER_TOO_BAD get_language(0xf18) |
#define | TRANSFER_NOTICE_TOOBAD get_language(0xf19) |
#define | TRANSFER_FAILED_MOVE get_language(0xf1a) |
#define | TRANSFER_THANKS get_language(0xf1b) |
#define | TRANSFER_NOTICE_THANKS get_language(0xf1c) |
#define | TRANSFER_USERFILE_LOST get_language(0xf1d) |
#define | TRANSFER_USERFILE_DISCON get_language(0xf1f) |
#define | TRANSFER_LOST_DCCSEND get_language(0xf20) |
#define | TRANSFER_REGET_PACKET get_language(0xf21) |
#define | TRANSFER_BEHIND_FILEEND get_language(0xf22) |
#define | TRANSFER_TRY_SKIP_AHEAD get_language(0xf23) |
#define | TRANSFER_RESUME_FILE get_language(0xf24) |
#define | TRANSFER_COMPLETED_USERFILE get_language(0xf25) |
#define | TRANSFER_FINISHED_DCCSEND get_language(0xf26) |
#define | TRANSFER_ABORT_USERFILE get_language(0xf27) |
#define | TRANSFER_LOST_DCCGET get_language(0xf28) |
#define | TRANSFER_BOGUS_FILE_LENGTH get_language(0xf29) |
#define | TRANSFER_FILE_TOO_LONG get_language(0xf2a) |
#define | TRANSFER_USERFILE_TIMEOUT get_language(0xf2b) |
#define | TRANSFER_DICONNECT_TIMEOUT get_language(0xf2c) |
#define | TRANSFER_NOTICE_TIMEOUT get_language(0xf2d) |
#define | TRANSFER_LOG_TIMEOUT get_language(0xf2e) |
#define | TRANSFER_DCC_GET_TIMEOUT get_language(0xf2f) |
#define | TRANSFER_DCC_SEND_TIMEOUT get_language(0xf30) |
#define | TRANSFER_SEND get_language(0xf31) |
#define | TRANSFER_SEND_WAITED get_language(0xf32) |
#define | TRANSFER_CONN_SEND get_language(0xf33) |
#define | TRANSFER_DCC_CONN get_language(0xf34) |
#define | TRANSFER_NOTICE_BAD_CONN get_language(0xf35) |
#define | TRANSFER_LOG_BAD_CONN get_language(0xf36) |
#define | TRANSFER_BEGIN_DCC get_language(0xf37) |
#define | TRANSFER_RE get_language(0xf38) |
#define | TRANSFER_DCC_IGNORED get_language(0xf39) |
#define | TRANSFER_UNLOADING get_language(0xf40) |
#define | TRANSFER_STAT_1 get_language(0xf41) |
#define | TRANSFER_STAT_2 get_language(0xf42) |
#define | TRANSFER_REGET_PACKETID 0xfeab |
Typedefs | |
typedef struct zarrf | fileq_t |
Enumerations | |
enum | dccsend_types { DCCSEND_OK = 0, DCCSEND_FULL, DCCSEND_NOSOCK, DCCSEND_BADFN, DCCSEND_FEMPTY } |
Functions | |
static void | dcc_fork_send (int, char *, int) |
static void | stats_add_dnload (struct userrec *, unsigned long) |
static void | stats_add_upload (struct userrec *, unsigned long) |
static void | wipe_tmp_filename (char *, int) |
static void | dcc_get_pending (int, char *, int) |
static void | queue_file (char *, char *, char *, char *) |
static int | raw_dcc_resend (char *, char *, char *, char *) |
static int | raw_dcc_send (char *, char *, char *, char *) |
static int | at_limit (char *) |
static int | fstat_gotshare (struct userrec *u, struct user_entry *e, char *par, int idx) |
static int | fstat_dupuser (struct userrec *u, struct userrec *o, struct user_entry *e) |
static int | fstat_tcl_set (Tcl_Interp *irp, struct userrec *u, struct user_entry *e, int argc, char **argv) |
static int | wild_match_file (register char *, register char *) |
static int | server_transfer_setup (char *) |
#define FILEMATCH (match+sofar) |
Definition at line 37 of file transfer.h.
Referenced by wild_match_file().
#define FILEQUOTE '\\' |
Definition at line 38 of file transfer.h.
Referenced by wild_match_file().
#define FILEWILDQ '?' |
Definition at line 40 of file transfer.h.
Referenced by wild_match_file().
#define FILEWILDS '*' |
Definition at line 39 of file transfer.h.
Referenced by wild_match_file().
#define TRANSFER_ABORT_DCCSEND get_language(0xf10) |
Definition at line 59 of file transfer.h.
Referenced by fileq_cancel().
#define TRANSFER_ABORT_USERFILE get_language(0xf27) |
Definition at line 82 of file transfer.h.
#define TRANSFER_BEGIN_DCC get_language(0xf37) |
Definition at line 98 of file transfer.h.
Referenced by raw_dcc_resend_send().
#define TRANSFER_BEHIND_FILEEND get_language(0xf22) |
Definition at line 77 of file transfer.h.
#define TRANSFER_BOGUS_FILE_LENGTH get_language(0xf29) |
Definition at line 84 of file transfer.h.
#define TRANSFER_CANCELLED get_language(0xf0f) |
Definition at line 58 of file transfer.h.
Referenced by fileq_cancel().
#define TRANSFER_CANCELLED_FILE get_language(0xf14) |
Definition at line 63 of file transfer.h.
Referenced by fileq_cancel().
#define TRANSFER_COMPLETED_DCC get_language(0xf15) |
Definition at line 64 of file transfer.h.
#define TRANSFER_COMPLETED_USERFILE get_language(0xf25) |
Definition at line 80 of file transfer.h.
#define TRANSFER_CONN_SEND get_language(0xf33) |
Definition at line 94 of file transfer.h.
#define TRANSFER_COPY_FAILED get_language(0xf00) |
Definition at line 43 of file transfer.h.
Referenced by send_next_file().
#define TRANSFER_DCC_CANCEL get_language(0xf12) |
Definition at line 61 of file transfer.h.
Referenced by fileq_cancel().
#define TRANSFER_DCC_CONN get_language(0xf34) |
Definition at line 95 of file transfer.h.
Referenced by dcc_fork_send().
#define TRANSFER_DCC_GET_TIMEOUT get_language(0xf2f) |
Definition at line 90 of file transfer.h.
#define TRANSFER_DCC_IGNORED get_language(0xf39) |
Definition at line 100 of file transfer.h.
Referenced by ctcp_DCC_RESUME().
#define TRANSFER_DCC_SEND_TIMEOUT get_language(0xf30) |
Definition at line 91 of file transfer.h.
#define TRANSFER_DICONNECT_TIMEOUT get_language(0xf2c) |
Definition at line 87 of file transfer.h.
#define TRANSFER_DONE get_language(0xf0c) |
Definition at line 55 of file transfer.h.
Referenced by show_queued_files().
#define TRANSFER_FAILED_MOVE get_language(0xf1a) |
Definition at line 69 of file transfer.h.
#define TRANSFER_FILE_ARRIVE get_language(0xf02) |
Definition at line 45 of file transfer.h.
Referenced by send_next_file().
#define TRANSFER_FILE_TOO_LONG get_language(0xf2a) |
Definition at line 85 of file transfer.h.
#define TRANSFER_FILENAME_TOOLONG get_language(0xf16) |
Definition at line 65 of file transfer.h.
#define TRANSFER_FILESYS_BROKEN get_language(0xf01) |
Definition at line 44 of file transfer.h.
Referenced by send_next_file().
#define TRANSFER_FINISHED_DCCSEND get_language(0xf26) |
Definition at line 81 of file transfer.h.
#define TRANSFER_LINES get_language(0xf0a) |
Definition at line 53 of file transfer.h.
Referenced by show_queued_files().
#define TRANSFER_LOG_BAD_CONN get_language(0xf36) |
Definition at line 97 of file transfer.h.
Referenced by dcc_get_pending().
#define TRANSFER_LOG_CONFULL get_language(0xf03) |
Definition at line 46 of file transfer.h.
Referenced by send_next_file().
#define TRANSFER_LOG_FILEEMPTY get_language(0xf07) |
Definition at line 50 of file transfer.h.
Referenced by send_next_file().
#define TRANSFER_LOG_SOCKERR get_language(0xf05) |
Definition at line 48 of file transfer.h.
Referenced by send_next_file().
#define TRANSFER_LOG_TIMEOUT get_language(0xf2e) |
Definition at line 89 of file transfer.h.
#define TRANSFER_LOST_DCCGET get_language(0xf28) |
Definition at line 83 of file transfer.h.
#define TRANSFER_LOST_DCCSEND get_language(0xf20) |
Definition at line 75 of file transfer.h.
#define TRANSFER_NO_MATCHES get_language(0xf13) |
Definition at line 62 of file transfer.h.
Referenced by fileq_cancel().
#define TRANSFER_NOTICE_ABORT get_language(0xf11) |
Definition at line 60 of file transfer.h.
Referenced by fileq_cancel().
#define TRANSFER_NOTICE_BAD_CONN get_language(0xf35) |
Definition at line 96 of file transfer.h.
Referenced by dcc_get_pending().
#define TRANSFER_NOTICE_CONFULL get_language(0xf04) |
Definition at line 47 of file transfer.h.
Referenced by send_next_file().
#define TRANSFER_NOTICE_FILEEMPTY get_language(0xf08) |
Definition at line 51 of file transfer.h.
Referenced by send_next_file().
#define TRANSFER_NOTICE_FNTOOLONG get_language(0xf17) |
Definition at line 66 of file transfer.h.
#define TRANSFER_NOTICE_SOCKERR get_language(0xf06) |
Definition at line 49 of file transfer.h.
Referenced by send_next_file().
#define TRANSFER_NOTICE_THANKS get_language(0xf1c) |
Definition at line 71 of file transfer.h.
#define TRANSFER_NOTICE_TIMEOUT get_language(0xf2d) |
Definition at line 88 of file transfer.h.
#define TRANSFER_NOTICE_TOOBAD get_language(0xf19) |
Definition at line 68 of file transfer.h.
#define TRANSFER_QUEUED_UP get_language(0xf0d) |
Definition at line 56 of file transfer.h.
Referenced by show_queued_files().
#define TRANSFER_RE get_language(0xf38) |
Definition at line 99 of file transfer.h.
Referenced by raw_dcc_resend_send().
#define TRANSFER_REGET_PACKET get_language(0xf21) |
Definition at line 76 of file transfer.h.
#define TRANSFER_REGET_PACKETID 0xfeab |
Definition at line 153 of file transfer.h.
#define TRANSFER_RESUME_FILE get_language(0xf24) |
Definition at line 79 of file transfer.h.
#define TRANSFER_SEND get_language(0xf31) |
Definition at line 92 of file transfer.h.
#define TRANSFER_SEND_TO get_language(0xf09) |
Definition at line 52 of file transfer.h.
Referenced by show_queued_files().
#define TRANSFER_SEND_WAITED get_language(0xf32) |
Definition at line 93 of file transfer.h.
#define TRANSFER_STAT_1 get_language(0xf41) |
Definition at line 102 of file transfer.h.
Referenced by transfer_report().
#define TRANSFER_STAT_2 get_language(0xf42) |
Definition at line 103 of file transfer.h.
Referenced by transfer_report().
#define TRANSFER_THANKS get_language(0xf1b) |
Definition at line 70 of file transfer.h.
#define TRANSFER_TOO_BAD get_language(0xf18) |
Definition at line 67 of file transfer.h.
#define TRANSFER_TOTAL get_language(0xf0e) |
Definition at line 57 of file transfer.h.
Referenced by show_queued_files().
#define TRANSFER_TRY_SKIP_AHEAD get_language(0xf23) |
Definition at line 78 of file transfer.h.
#define TRANSFER_UNLOADING get_language(0xf40) |
Definition at line 101 of file transfer.h.
Referenced by transfer_close().
#define TRANSFER_USERFILE_DISCON get_language(0xf1f) |
Definition at line 74 of file transfer.h.
#define TRANSFER_USERFILE_LOST get_language(0xf1d) |
Definition at line 72 of file transfer.h.
#define TRANSFER_USERFILE_TIMEOUT get_language(0xf2b) |
Definition at line 86 of file transfer.h.
#define TRANSFER_WAITING get_language(0xf0b) |
Definition at line 54 of file transfer.h.
Referenced by show_queued_files().
enum dccsend_types |
Definition at line 28 of file transfer.h.
00028 { 00029 DCCSEND_OK = 0, 00030 DCCSEND_FULL, /* DCC table is full */ 00031 DCCSEND_NOSOCK, /* Can not open a listening socket */ 00032 DCCSEND_BADFN, /* No such file */ 00033 DCCSEND_FEMPTY /* File is empty */ 00034 };
static int at_limit | ( | char * | ) | [static] |
static void dcc_fork_send | ( | int | , | |
char * | , | |||
int | ||||
) | [static] |
static void dcc_get_pending | ( | int | , | |
char * | , | |||
int | ||||
) | [static] |
static int fstat_dupuser | ( | struct userrec * | u, | |
struct userrec * | o, | |||
struct user_entry * | e | |||
) | [static] |
static int fstat_gotshare | ( | struct userrec * | u, | |
struct user_entry * | e, | |||
char * | par, | |||
int | idx | |||
) | [static] |
static int fstat_tcl_set | ( | Tcl_Interp * | irp, | |
struct userrec * | u, | |||
struct user_entry * | e, | |||
int | argc, | |||
char ** | argv | |||
) | [static] |
static void queue_file | ( | char * | , | |
char * | , | |||
char * | , | |||
char * | ||||
) | [static] |
static int raw_dcc_resend | ( | char * | , | |
char * | , | |||
char * | , | |||
char * | ||||
) | [static] |
static int raw_dcc_send | ( | char * | , | |
char * | , | |||
char * | , | |||
char * | ||||
) | [static] |
static int server_transfer_setup | ( | char * | ) | [static] |
static void stats_add_dnload | ( | struct userrec * | , | |
unsigned | long | |||
) | [static] |
static void stats_add_upload | ( | struct userrec * | , | |
unsigned | long | |||
) | [static] |
static int wild_match_file | ( | register char * | , | |
register char * | ||||
) | [static] |
static void wipe_tmp_filename | ( | char * | , | |
int | ||||
) | [static] |