summaryrefslogtreecommitdiff
path: root/other/zylyx/src/zylyx.h
blob: bd2c30a3956e3367fd07c6b1e4d2603719a58c27 (plain)
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
/* zylyx - file find
 *
 * by scut of teso
 */

#ifndef	_ZYL_ZYLYX_H
#define	_ZYL_ZYLYX_H

#define	VERSION	"0.1.1"
#define	AUTHORS	"scut of teso"

typedef struct	proxy {
	char			*file;
	char			*host;
	unsigned short int	port;
	int			x, y;	/* field with proxy info :) */
} proxy;

typedef struct	result {
	int			found;
	char			*proxy_host;
	unsigned short int	proxy_port;
	char			*file;
} result;

void	zyl_assign_prx (proxy **pl);
void	zyl_main (proxy **pl, int proxycount, char *file);

#endif