1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00:00
irssi/src/irc/dcc/dcc-send.h
Timo Sirainen 19dff227d8 Removed /SET dcc_block_size and /SET dcc_fast_send - fast send is now
always used and dcc_block_size is useless with it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1250 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 03:40:06 +00:00

28 lines
710 B
C

#ifndef __DCC_SEND_H
#define __DCC_SEND_H
#include "dcc.h"
#define DCC_SEND(dcc) \
MODULE_CHECK_CAST_MODULE(dcc, SEND_DCC_REC, type, "DCC", "SEND")
#define IS_DCC_SEND(dcc) \
(DCC_SEND(dcc) ? TRUE : FALSE)
typedef struct {
#include "dcc-file-rec.h"
unsigned int file_quoted:1; /* file name was received quoted ("file name") */
/* fastsending: */
unsigned int waitforend:1; /* file is sent, just wait for the replies from the other side */
unsigned int gotalldata:1; /* got all acks from the other end (needed to make sure the end of transfer works right) */
} SEND_DCC_REC;
#define DCC_SEND_TYPE module_get_uniq_id_str("DCC", "SEND")
void dcc_send_init(void);
void dcc_send_deinit(void);
#endif