File: dcc.h

package info (click to toggle)
epic5 3.0.3-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 5,328 kB
  • sloc: ansic: 75,810; makefile: 648; ruby: 227; python: 215; sh: 78; perl: 13
file content (30 lines) | stat: -rw-r--r-- 866 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * dcc.h: Things dealing client to client connections. 
 *
 * Copyright 1991 Troy Rollo
 * Copyright 1997 EPIC Software Labs
 * See the Copyright file for license information
 */

#ifndef __dcc_h__
#define __dcc_h__

	void	close_all_dcc 		(void);
	int	dcc_chat_active		(const char *);
	void	dcc_chat_transmit 	(char *, char *, const char *, 
						const char *, int);
	void	dcc_check 		(fd_set *, fd_set *);
	BUILT_IN_COMMAND(dcc_cmd);
	char *	dcc_raw_connect 	(const char *, const char *, int);
	char *	dcc_raw_listen 		(int, unsigned short);
	void	dcc_reject 		(const char *, char *, char *);
	void	register_dcc_offer 	(const char *, char *, char *, char *, 
					 char *, char *, char *, char *);
	char *	DCC_get_current_transfer (void);
	int     wait_for_dcc 		(const char *);

	char	*dccctl			(char *input);

extern	time_t	dcc_timeout;

#endif /* _DCC_H_ */