00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _EGG_MOD_SERVER_DCC_H_
00023 #define _EGG_MOD_SERVER_DCC_H_
00024
00025
00026 #define DCC_SEND_SENT 1
00027 #define DCC_SEND_LEFT 2
00028 #define DCC_SEND_CPS_TOTAL 3
00029 #define DCC_SEND_CPS_SNAPSHOT 4
00030 #define DCC_SEND_ACKS 5
00031 #define DCC_SEND_BYTES_ACKED 6
00032 #define DCC_SEND_RESUMED_AT 7
00033 #define DCC_SEND_REQUEST_TIME 8
00034 #define DCC_SEND_CONNECT_TIME 9
00035
00036 int dcc_dns_set(const char *host);
00037 int dcc_start_chat(const char *nick, int timeout);
00038 int dcc_start_send(const char *nick, const char *fname, int timeout);
00039 int dcc_send_info(int idx, int field, void *valueptr);
00040 int dcc_accept_send(char *nick, char *localfname, char *fname, int size, int resume, char *ip, int port, int timeout);
00041
00042 extern bind_list_t ctcp_dcc_binds[];
00043
00044 #endif